SOURCES: calamaris-croniface - fix chown logic

glen glen at pld-linux.org
Mon Feb 12 12:59:49 CET 2007


Author: glen                         Date: Mon Feb 12 11:59:49 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix chown logic

---- Files affected:
SOURCES:
   calamaris-croniface (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/calamaris-croniface
diff -u SOURCES/calamaris-croniface:1.10 SOURCES/calamaris-croniface:1.11
--- SOURCES/calamaris-croniface:1.10	Wed Feb  7 17:56:44 2007
+++ SOURCES/calamaris-croniface	Mon Feb 12 12:59:44 2007
@@ -79,8 +79,8 @@
 			exit 1
 		fi
 		call_calamaris "$1" "$ARG" > $3
-		[ -n "$SAVE_OWNER" ] || chown $SAVE_OWNER $3
-		[ -n "$SAVE_PERM" ] || chmod $SAVE_PERM $3
+		[ -n "$SAVE_OWNER" ] && chown $SAVE_OWNER $3
+		[ -n "$SAVE_PERM" ] && chmod $SAVE_PERM $3
 	fi
 
 	# Generate statistics and send them.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/calamaris-croniface?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list