mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 06:28:39 +09:00 
			
		
		
		
	use -- in lua command line
This commit is contained in:
		@@ -70,7 +70,7 @@ The filesystem will be enlarged upon the next reboot" 20 60 2
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
set_config_var() {
 | 
			
		||||
  lua - "$1" "$2" "$3" <<EOF > "$3.bak"
 | 
			
		||||
  lua - -- "$1" "$2" "$3" <<EOF > "$3.bak"
 | 
			
		||||
local key=assert(arg[1])
 | 
			
		||||
local value=assert(arg[2])
 | 
			
		||||
local fn=assert(arg[3])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user