forked from evolix/evocheck
Missing quiet option for grep.
This commit is contained in:
parent
0325dc93e4
commit
3c9ba79ad5
|
@ -245,7 +245,9 @@ if [ -e /etc/debian_version ]; then
|
|||
fi
|
||||
|
||||
if [ "$IS_NRPEPID" = 1 ]; then
|
||||
! is_debianversion squeeze && grep "^pid_file=/var/run/nrpe.pid" /etc/nagios/nrpe.cfg && echo 'IS_NRPEPID FAILED!'
|
||||
! is_debianversion squeeze && grep -q "^pid_file=/var/run/nrpe.pid" /etc/nagios/nrpe.cfg && echo 'IS_NRPEPID FAILED!'
|
||||
|
||||
|
||||
fi
|
||||
|
||||
if [ "$IS_GRSECPROCS" = 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue