From 413d6a455c8bc5d594bb1ed8e364b73270ee4f81 Mon Sep 17 00:00:00 2001 From: mollusk Date: Sun, 10 Nov 2019 06:20:16 -0700 Subject: [PATCH] svc.sh: treat arguments as strings --- svc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svc.sh b/svc.sh index 51a0002..65e6b99 100755 --- a/svc.sh +++ b/svc.sh @@ -33,11 +33,11 @@ NC='\033[0m' # No Color case $1 in link | --link-service ) - ln -v -s /etc/sv/$2 /var/service/ + ln -v -s /etc/sv/"${2}" /var/service/ ;; unlink | --remove-service ) - rm -v /var/service/$2 + rm -v /var/service/"${2}" ;; linked | --linked-services )