fix(4_setboot): add double quote to prevent word splitting

This commit is contained in:
Sofia
2026-01-15 18:47:53 +08:00
committed by GitHub
parent bdd13aa91b
commit 5ccf102791

View File

@@ -84,7 +84,7 @@ setboot() {
case "$sec" in case "$sec" in
[0-9] | [0-9][0-9] | [0-2][0-9][0-9] | 300) [0-9] | [0-9][0-9] | [0-2][0-9][0-9] | 300)
start_delay=$sec start_delay=$sec
setconfig start_delay $sec setconfig start_delay "$sec"
echo -e "\033[32m设置成功\033[0m" echo -e "\033[32m设置成功\033[0m"
;; ;;
*) *)