diff options
Diffstat (limited to 'add-service')
-rwxr-xr-x | add-service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service index 6a52e2f..684d3db 100755 --- a/add-service +++ b/add-service @@ -62,7 +62,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") |