Skip to content

Commit

Permalink
Return 1 on service status when service is not installed (actions#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-soubeyrand authored Jun 4, 2021
1 parent ebadce7 commit 1193983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Misc/layoutbin/systemd.svc.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function status()
echo
echo "not installed"
echo
return
exit 1
fi

systemctl --no-pager status ${SVC_NAME}
Expand Down

0 comments on commit 1193983

Please sign in to comment.