wok diff shutdown/stuff/shutdown @ rev 25037
Up glza (0.11.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 21 21:38:29 2022 +0000 (2022-05-21) |
parents | 68bd2134ab54 |
children |
line diff
1.1 --- a/shutdown/stuff/shutdown Mon Sep 21 13:17:35 2015 +0000 1.2 +++ b/shutdown/stuff/shutdown Sat May 21 21:38:29 2022 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 # use 'shutdown -r now' or similar. 1.5 # 1.6 1.7 -if [ "x$1" == "x-r" ]; then 1.8 +if [ "x$1" = "x-r" ]; then 1.9 /sbin/reboot 1.10 else 1.11 /sbin/poweroff