fixed postfix
authormaniacikarus <maniacikarus@ipfire.org>
Sat, 9 May 2009 20:39:03 +0000 (22:39 +0200)
committermaniacikarus <maniacikarus@ipfire.org>
Sat, 9 May 2009 20:39:03 +0000 (22:39 +0200)
src/initscripts/init.d/postfix

index 2620a4eb3ee5ab780ca18ab210c6dc07f071180c..f7fc2dd73a3b1d509a9e278452fafe4d87cd73ec 100644 (file)
@@ -49,7 +49,7 @@ case "$1" in
        status)
                PID=`pidof /usr/lib/postfix/master`
                MPID=`cat /var/spool/postfix/pid/master.pid`
-               if [ $MPID = $PID ]; then
+               if [ ${MPID} = ${PID} ]; then
                        echo -e "${INFO}postfix is running with Process"\
                        "ID(s) ${MPID}.${NORMAL}"
                fi