summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--encap/src/encap-profiles/daemontools-0.76.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/daemontools-0.76.ep b/encap/src/encap-profiles/daemontools-0.76.ep
index c6b93c2ab..477a04d4b 100644
--- a/encap/src/encap-profiles/daemontools-0.76.ep
+++ b/encap/src/encap-profiles/daemontools-0.76.ep
@@ -302,7 +302,7 @@ if [ "${1}x" = "x" -o "${2}x" != "x" ]; then
exit 1
fi
SERVICE="`basename ${1}`"
-if [ ! -e "/service/$SERVICE" ]; then
+if [ ! -h "/service/$SERVICE" -a ! -f "/service/$SERVICE" ]; then
printf "Service \"${SERVICE}\" not installed. Installed services:\n"
svstat /service/*
exit 1