Fix systemd

This commit is contained in:
Alexander Schäferdiek 2019-01-25 19:45:14 +01:00
parent 47381a6765
commit 986f3e2fc2

View file

@ -81,7 +81,7 @@ function checkService() {
RESULT=$($USER_COMMAND); RESULT=$($USER_COMMAND);
else else
local ROOT_COMMAND="systemctl is-active --quiet $SERVICE"; local ROOT_COMMAND="systemctl is-active --quiet $SERVICE";
local USER_COMMAND="$COMMAND && systemctl --user is-active --quiet $SERVICE"; local USER_COMMAND="systemctl --user is-active --quiet $SERVICE";
local RESULT_ROOT_COMMAND=$($ROOT_COMMAND); local RESULT_ROOT_COMMAND=$($ROOT_COMMAND);
local RESULT_USER_COMMAND=$($USER_COMMAND); local RESULT_USER_COMMAND=$($USER_COMMAND);