Missing quiet option for grep.

This commit is contained in:
Romain Dessort 2016-05-12 19:59:01 -04:00
parent 0325dc93e4
commit 3c9ba79ad5

View file

@ -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