diff options
Diffstat (limited to 'system/netdata-openrc.in')
-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 $? |