From 376b78e935bcf85d5f35fe9dd2ebb5b54e8d5109 Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 14 Apr 2016 18:01:14 +0300 Subject: [PATCH] How did that happen --- shutdown | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/shutdown b/shutdown index a850e3d..0984d3b 100755 --- a/shutdown +++ b/shutdown @@ -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