Fix systemd check for normal user

This commit is contained in:
Alexander Schäferdiek 2019-01-25 20:17:48 +01:00
parent 9e4479db9c
commit 53c8a639a3

View file

@ -81,7 +81,7 @@ function checkService() {
local RESULT=0;
if [ "$(id -u)" != "0" ]; then
if [ ! $($USER_COMMAND) ]; then
if ! $($USER_COMMAND); then
RESULT=1;
fi
else