From: Peter Palfrader Date: Wed, 25 Jan 2017 10:33:28 +0000 (+0100) Subject: And stdout to /dev/null too X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=76420ae2c81d37974e30de91fb92103064bcbfbf;p=mirror%2Fdsa-puppet.git And stdout to /dev/null too --- diff --git a/modules/ntp/files/ntp-restart-if-required b/modules/ntp/files/ntp-restart-if-required index 6252b827a..f8ea5cc78 100755 --- a/modules/ntp/files/ntp-restart-if-required +++ b/modules/ntp/files/ntp-restart-if-required @@ -2,7 +2,7 @@ [ -e /usr/lib/nagios/plugins/dsa-check-timedatectl ] || exit -/usr/lib/nagios/plugins/dsa-check-timedatectl -s 2>/dev/null +/usr/lib/nagios/plugins/dsa-check-timedatectl -s >/dev/null 2>/dev/null rc=$? case "$rc" in