tags 506207 +path
merge 504305 506207
thanks

Sorry, but the patch included in #504305 is wrong: the correct one
should be:

--- /etc/init.d/portmap 2008-10-27 00:53:10.000000000 +0100
+++ portmap     2008-11-19 12:39:27.645205021 +0100
@@ -30,7 +30,7 @@
 case "$1" in
     start)
        log_begin_msg "Starting portmap daemon..."
-       pid=pidofproc portmap
+       pid=`pidofproc portmap`
        if [ -n "$pid" ] ; then
              log_begin_msg "Already running."
              log_end_msg 0


Without that, function pidofproc() isn't even called.  That line sets
the variable pid to "pidofproc" and then executes portmap.

Thanks,

-- 
Juan Cespedes
http://www.cespedes.org/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to