From 00c10ef0c99859c583abc97974616eb278d3f24e Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Tue, 25 Jul 2017 20:46:07 -0500 Subject: shutdown: Quote command substitution --- shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shutdown') 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 -- cgit 1.4.1