Return 1 on service status when service is not installed (#1018)

This commit is contained in:
Yann Soubeyrand
2021-06-04 16:52:13 +02:00
committed by GitHub
parent ebadce7958
commit 11939832df

View File

@@ -124,7 +124,7 @@ function status()
echo
echo "not installed"
echo
return
exit 1
fi
systemctl --no-pager status ${SVC_NAME}