How did that happen

This commit is contained in:
Jack L. Frost 2016-04-14 18:01:14 +03:00
parent 8d5c19d7bf
commit 376b78e935
1 changed files with 2 additions and 4 deletions

View File

@ -28,10 +28,8 @@ main() {
if [ -z "$init_signal" ]; then
case "$exe_name" in
poweroff) poff;;
reboot)
echo 'Rebooting.'
init_signal='INT';;
poweroff) _poweroff;;
reboot) _reboot;;
*) usage; return 1;;
esac