wok diff shutdown/stuff/shutdown @ rev 25691
Up lynis (3.1.1), ncurses-examples (20211021)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 16 10:43:04 2024 +0000 (2 months ago) |
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 Tue Apr 16 10:43:04 2024 +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