rpms/nsd/EL-5 nsd.init,1.7,1.8

Paul Wouters pwouters at fedoraproject.org
Thu Aug 20 15:28:12 UTC 2009


Author: pwouters

Update of /cvs/extras/rpms/nsd/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7583/EL-5

Modified Files:
	nsd.init 
Log Message:
* Thu Aug 20 2009 Ville Mattila <vmattila at csc.fi> 
- The 'nsdc patch' and 'nsdc rebuild' commands wrote a %1 file by mistake



Index: nsd.init
===================================================================
RCS file: /cvs/extras/rpms/nsd/EL-5/nsd.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- nsd.init	10 Apr 2009 20:11:45 -0000	1.7
+++ nsd.init	20 Aug 2009 15:28:12 -0000	1.8
@@ -45,7 +45,7 @@ start() {
   [ -x $NSD_PROG ] || exit 5
 
   echo -n $"Starting nsd:"
-  $NSDC_PROG -c $NSD_CONF rebuild >/dev/null 2>%1
+  $NSDC_PROG -c $NSD_CONF rebuild >/dev/null 2>&1
   $NSD_PROG -c $NSD_CONF $OTHER_NSD_OPTS
   RETVAL=$?
   echo
@@ -60,7 +60,7 @@ start() {
 stop() {
   echo -n $"Stopping nsd: "
   # save state to zonefiles
-  $NSDC_PROG -c $NSD_CONF patch > /dev/null 2>%1
+  $NSDC_PROG -c $NSD_CONF patch > /dev/null 2>&1
   $NSDC_PROG -c $NSD_CONF stop
   RETVAL=$?
   # was nsdc successful?




More information about the scm-commits mailing list