SOURCES: nagios-notify-statusfile.patch - configure like variable ...
glen
glen at pld-linux.org
Tue Apr 8 13:03:56 CEST 2008
Author: glen Date: Tue Apr 8 11:03:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- configure like variable test ;)
---- Files affected:
SOURCES:
nagios-notify-statusfile.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/nagios-notify-statusfile.patch
diff -u SOURCES/nagios-notify-statusfile.patch:1.2 SOURCES/nagios-notify-statusfile.patch:1.3
--- SOURCES/nagios-notify-statusfile.patch:1.2 Tue Apr 8 11:58:06 2008
+++ SOURCES/nagios-notify-statusfile.patch Tue Apr 8 13:03:50 2008
@@ -1,4 +1,3 @@
-diff -urN nagios-notify-0.9.5.org/nagios-notify nagios-notify-0.9.5/nagios-notify
--- nagios-notify-0.9.5.org/nagios-notify 2006-08-04 03:11:30.000000000 +0200
+++ nagios-notify-0.9.5/nagios-notify 2008-04-08 11:41:08.871305868 +0200
@@ -28,7 +28,10 @@
@@ -7,7 +6,7 @@
-if [ -z "$NAGIOS_STATUSDATAFILE" ]; then
+
-+if [ "${NAGIOS_STATUSDATAFILE+X}" = X ]; then
++if [ "${NAGIOS_STATUSDATAFILE+set}" = set ]; then
+ NAGIOS_STATUSDATAFILE=${NAGIOS_STATUSDATAFILE:-/var/lib/nagios/status.dat}
+else
echo >&2 "$prog: This program must be ran from Nagios."
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios-notify-statusfile.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list