[Pkg-nagios-changes] [pkg-nagios] r1104 - nagios2/trunk/debian

Marc Haber zugschlus at alioth.debian.org
Sat Jan 27 13:38:33 CET 2007


Author: zugschlus
Date: 2007-01-27 13:38:33 +0100 (Sat, 27 Jan 2007)
New Revision: 1104

Modified:
   nagios2/trunk/debian/changelog
   nagios2/trunk/debian/nagios2-common.nagios2.init
Log:
  * init script: use awk -v FS. Thanks to Mike O'Connor. Closes: #408136



Modified: nagios2/trunk/debian/changelog
===================================================================
--- nagios2/trunk/debian/changelog	2007-01-26 16:01:17 UTC (rev 1103)
+++ nagios2/trunk/debian/changelog	2007-01-27 12:38:33 UTC (rev 1104)
@@ -4,11 +4,12 @@
   * services_nagios2.cfg: add default notification_interval 0 clauses to
     make it clear that nagios won't re-notify by default.
     Thanks to Jan Wagner.
-  * Add symlink from /usr/share/nagios2/htdocs/docs to 
+  * Add symlink from /usr/share/nagios2/htdocs/docs to
     /usr/share/doc/nagios2-doc/html as suggested by Mike O'Connor.
     Closes: #408141
+  * init script: use awk -v FS. Thanks to Mike O'Connor. Closes: #408136
 
- -- Marc Haber <mh+debian-packages at zugschlus.de>  Fri, 26 Jan 2007 17:00:19 +0100
+ -- Marc Haber <mh+debian-packages at zugschlus.de>  Sat, 27 Jan 2007 13:37:57 +0100
 
 nagios2 (2.6-2) unstable; urgency=low
 

Modified: nagios2/trunk/debian/nagios2-common.nagios2.init
===================================================================
--- nagios2/trunk/debian/nagios2-common.nagios2.init	2007-01-26 16:01:17 UTC (rev 1103)
+++ nagios2/trunk/debian/nagios2-common.nagios2.init	2007-01-27 12:38:33 UTC (rev 1104)
@@ -114,7 +114,7 @@
   exit 6
 fi
 
-THEPIDFILE="$(grep lock_file $NAGIOSCFG | awk '{print $2}' FS="=")"
+THEPIDFILE="$(grep lock_file $NAGIOSCFG | awk -v FS="=" '{print $2}')"
 [ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/nagios2/nagios.pid'
 
 [ -e "$THEPIDFILE" ] && PID=$(cat $THEPIDFILE)




More information about the Pkg-nagios-changes mailing list