diff options
author | Matthew Martin <phy1729@gmail.com> | 2017-07-25 20:46:07 -0500 |
---|---|---|
committer | Leаh Neukirchen <chneukirchen@gmail.com> | 2017-07-26 13:36:59 +0200 |
commit | 00c10ef0c99859c583abc97974616eb278d3f24e (patch) | |
tree | 699ff6a2b966f081751534e43c5e88d7931d2468 /shutdown | |
parent | bd8beaded9f5545f190c8b1570446a6365405408 (diff) | |
download | runit-void-00c10ef0c99859c583abc97974616eb278d3f24e.tar.gz runit-void-00c10ef0c99859c583abc97974616eb278d3f24e.tar.xz runit-void-00c10ef0c99859c583abc97974616eb278d3f24e.zip |
shutdown: Quote command substitution
Diffstat (limited to 'shutdown')
-rwxr-xr-x | shutdown | 2 |
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 |