packages: ocs-inventory-ng-client/ocs-inventory-ng-client.cron - bug

wolvverine wolvverine at pld-linux.org
Tue Jan 12 15:10:51 CET 2010


Author: wolvverine                   Date: Tue Jan 12 14:10:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bug

---- Files affected:
packages/ocs-inventory-ng-client:
   ocs-inventory-ng-client.cron (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron
diff -u packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron:1.4 packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron:1.5
--- packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron:1.4	Fri Oct 23 18:39:03 2009
+++ packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron	Tue Jan 12 15:10:46 2010
@@ -1,8 +1,6 @@
 #!/bin/bash
 NAME=ocsinventory-agent
 
-exec >>/var/log/$NAME/$NAME.log 2>&1 
-
 [ -f   /etc/sysconfig/$NAME ] || exit 0
 source /etc/sysconfig/$NAME
 export PATH
@@ -37,7 +35,7 @@
 		fi
 		OPTS="$OPTS --logfile=/var/log/ocsinventory-agent/ocsinventory-agent.log "
 		echo "[$(date '+%c')] Running $NAME $OPTS"
-		echo "/usr/bin/$NAME  $OPTS"
+		/usr/bin/$NAME  $OPTS
 	fi
 	((i++))
 done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ocs-inventory-ng-client/ocs-inventory-ng-client.cron?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list