[csw-devel] SF.net SVN: gar:[21627] csw/mgar/pkg/dovecot/trunk/files/cswdovecot

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Fri Aug 2 22:30:50 CEST 2013


Revision: 21627
          http://gar.svn.sourceforge.net/gar/?rev=21627&view=rev
Author:   jake_goerzen
Date:     2013-08-02 20:30:46 +0000 (Fri, 02 Aug 2013)
Log Message:
-----------
dovecot: fix bug 0005096: The cswdovecot method does not work with stop

Modified Paths:
--------------
    csw/mgar/pkg/dovecot/trunk/files/cswdovecot

Modified: csw/mgar/pkg/dovecot/trunk/files/cswdovecot
===================================================================
--- csw/mgar/pkg/dovecot/trunk/files/cswdovecot	2013-08-02 16:30:58 UTC (rev 21626)
+++ csw/mgar/pkg/dovecot/trunk/files/cswdovecot	2013-08-02 20:30:46 UTC (rev 21627)
@@ -16,7 +16,7 @@
 
 [ "`ulimit -n`" -lt 1024 ] && ulimit -n 1024
 
-base_dir=`$DAEMON -a|grep '^base_dir: '|sed 's/^base_dir: //'`
+base_dir=`$DAEMON -a | sed -n 's/^base_dir[ 	]*=[ 	]*//p'`
 pidfile=$base_dir/master.pid
 
 if test -f $pidfile; then

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list