Fix systemd check for normal user
This commit is contained in:
parent
9e4479db9c
commit
53c8a639a3
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function checkService() {
|
||||||
local RESULT=0;
|
local RESULT=0;
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
if [ ! $($USER_COMMAND) ]; then
|
if ! $($USER_COMMAND); then
|
||||||
RESULT=1;
|
RESULT=1;
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue