diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-10-04 21:14:55 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-10-04 21:14:55 +0300 |
commit | 301b0414e2ecede55380be6b41b709ade5811de5 (patch) | |
tree | 007afd2a6b46edd5de601ee9adda401b70bfa3b4 /system | |
parent | d4696776576263ac7bebf529006513992e2610bb (diff) |
proper AND at openrc shell
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata-openrc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata-openrc.in b/system/netdata-openrc.in index 512d482781..ce76f7e64a 100644 --- a/system/netdata-openrc.in +++ b/system/netdata-openrc.in @@ -70,7 +70,7 @@ stop_post() { done eend $sigkill - if [ $sigkill -eq 1 && -f "${pidfile}" ]; then + if [ $sigkill -eq 1 -a -f "${pidfile}" ]; then ebegin "Netdata is taking too long to exit, forcing it to quit" kill -SIGKILL $(cat ${pidfile}) 2>/dev/null eend $? |