mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
fix(4_setboot): add double quote to prevent word splitting
This commit is contained in:
@@ -84,7 +84,7 @@ setboot() {
|
||||
case "$sec" in
|
||||
[0-9] | [0-9][0-9] | [0-2][0-9][0-9] | 300)
|
||||
start_delay=$sec
|
||||
setconfig start_delay $sec
|
||||
setconfig start_delay "$sec"
|
||||
echo -e "\033[32m设置成功!\033[0m"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user