mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
Return 1 on service status when service is not installed (#1018)
This commit is contained in:
@@ -124,7 +124,7 @@ function status()
|
||||
echo
|
||||
echo "not installed"
|
||||
echo
|
||||
return
|
||||
exit 1
|
||||
fi
|
||||
|
||||
systemctl --no-pager status ${SVC_NAME}
|
||||
|
||||
Reference in New Issue
Block a user