aboutsummaryrefslogtreecommitdiffstats
path: root/del-service
diff options
context:
space:
mode:
Diffstat (limited to 'del-service')
-rwxr-xr-xdel-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/del-service b/del-service
index e40a1cb..da61231 100755
--- a/del-service
+++ b/del-service
@@ -59,7 +59,7 @@ find_unit() {
searchunit="$USERUNITDIR/$unit"
elif [ -L "$RUNTIMEUNITDIR/$unit" ]; then
searchunit=$(/usr/bin/readlink -m "$RUNTIMEUNITDIR/$unit")
- else [ -e "$RUNTIMEUNITDIR/$unit" ]; then
+ elif [ -e "$RUNTIMEUNITDIR/$unit" ]; then
searchunit="$RUNTIMEUNITDIR/$unit"
elif [ -L "$SYSTEMUNITDIR/$unit" ]; then
searchunit=$(/usr/bin/readlink -m "$SYSTEMUNITDIR/$unit")