mirror of
https://github.com/actions/runner.git
synced 2025-12-17 15:59:37 +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
|
||||||
echo "not installed"
|
echo "not installed"
|
||||||
echo
|
echo
|
||||||
return
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl --no-pager status ${SVC_NAME}
|
systemctl --no-pager status ${SVC_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user