diff --git a/etc/functions b/etc/functions index 406f56c..4fbf205 100644 --- a/etc/functions +++ b/etc/functions @@ -38,7 +38,7 @@ addpkg() { enable_service() { for i in $@; do - if ! test -l /etc/runit/runsvdir/default/${i}; then + if ! [ -h /etc/runit/runsvdir/default/${i} ]; then ln -s /etc/sv/$i /etc/runit/runsvdir/default/ fi done