Fix systemd

This commit is contained in:
Alexander Schäferdiek 2019-01-25 20:06:57 +01:00
parent 45e8033b20
commit 9e4479db9c

View file

@ -85,7 +85,7 @@ function checkService() {
RESULT=1;
fi
else
if [ ! $($ROOT_COMMAND) ] && [ ! $($USER_COMMAND) ]; then
if ! $($ROOT_COMMAND) && ! $($USER_COMMAND); then
RESULT=1;
fi
fi