diff options
Diffstat (limited to 'config/syslog-ng/syslog-ng.inc')
-rw-r--r-- | config/syslog-ng/syslog-ng.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc index e1b4d35e..f821e75d 100644 --- a/config/syslog-ng/syslog-ng.inc +++ b/config/syslog-ng/syslog-ng.inc @@ -405,7 +405,7 @@ function syslogng_write_rcfile() { $pid_file = "/var/run/syslog-ng.pid"; $rc['file'] = 'syslog-ng.sh'; $rc['start'] = <<<EOD -if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh"`" ]; then +if [ -z "`ps auxw | grep "syslog-ng" | grep -v "syslog-ng.sh" | grep -v "grep"`" ]; then /usr/local/sbin/syslog-ng -p {$pid_file} fi |