mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
use -- in lua command line
This commit is contained in:
parent
9199bf25ea
commit
2f5bd70c5a
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user