From 9e4479db9ce57099569073b8377401377e8cc14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Fri, 25 Jan 2019 20:06:57 +0100 Subject: [PATCH] Fix systemd --- usr/local/bin/systemd_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/systemd_check b/usr/local/bin/systemd_check index 8db2f07..8e60a13 100755 --- a/usr/local/bin/systemd_check +++ b/usr/local/bin/systemd_check @@ -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