packages: mailgraph/mailgraph.init - simplify

glen glen at pld-linux.org
Wed Jul 14 10:42:10 CEST 2010


Author: glen                         Date: Wed Jul 14 08:42:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- simplify

---- Files affected:
packages/mailgraph:
   mailgraph.init (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/mailgraph/mailgraph.init
diff -u packages/mailgraph/mailgraph.init:1.14 packages/mailgraph/mailgraph.init:1.15
--- packages/mailgraph/mailgraph.init:1.14	Tue Jul 13 15:55:47 2010
+++ packages/mailgraph/mailgraph.init	Wed Jul 14 10:42:05 2010
@@ -36,7 +36,7 @@
 		${STARTUP_OPTIONS} \
 		--daemon-rrd=/var/lib/mailgraph \
 		--daemon-pid=/var/lib/mailgraph/mailgraph.pid \
-		$([ -n "$MAILLOG_FILE" ] && echo -l $MAILLOG_FILE ) 2>&1
+		${MAILLOG_FILE:+-l $MAILLOG_FILE}
 	RETVAL=$?
 	if [ $RETVAL -eq 0 ] ; then
 		touch /var/lock/subsys/mailgraph
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mailgraph/mailgraph.init?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list