svc.sh: treat arguments as strings
This commit is contained in:
parent
db79c1552f
commit
413d6a455c
4
svc.sh
4
svc.sh
@ -33,11 +33,11 @@ NC='\033[0m' # No Color
|
|||||||
case $1 in
|
case $1 in
|
||||||
|
|
||||||
link | --link-service )
|
link | --link-service )
|
||||||
ln -v -s /etc/sv/$2 /var/service/
|
ln -v -s /etc/sv/"${2}" /var/service/
|
||||||
;;
|
;;
|
||||||
|
|
||||||
unlink | --remove-service )
|
unlink | --remove-service )
|
||||||
rm -v /var/service/$2
|
rm -v /var/service/"${2}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
linked | --linked-services )
|
linked | --linked-services )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user