about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xshutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown b/shutdown
index 7708479..9b6bba4 100755
--- a/shutdown
+++ b/shutdown
@@ -37,7 +37,7 @@ time=$1; shift
 message="${*:-system is going down}"
 
 if [ "$action" = "cancel" ]; then
-  kill $(cat /run/runit/shutdown.pid)
+  kill "$(cat /run/runit/shutdown.pid)"
   if [ -e /etc/nologin ] && ! [ -s /etc/nologin ]; then
     rm /etc/nologin
   fi