commit df03914

chld  ·  2026-09-07 15:16:11 +0000 UTC
parent 83f135c
reboot: quote $1
1 files changed,  +1, -1
M reboot
M reboot
+1, -1
1@@ -1,7 +1,7 @@
2 #!/bin/sh
3 # handle end signals, bc userland doesnt understand us...
4 
5-[ $1 = '-f' ] && {
6+[ "$1" = '-f' ] && {
7     # still need to fall back to actual reboot after situation calls -f
8     busybox ${0##*/} -f || { echo 'unknown signal'; exit 1; }
9     exit