svc.sh: treat arguments as strings

This commit is contained in:
mollusk 2019-11-10 06:20:16 -07:00
parent db79c1552f
commit 413d6a455c

4
svc.sh
View File

@ -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 )