Update mcollective.init according to OSCI-855 3.2.1 3.2.1-updates master
authorDmitry Burmistrov <dburmistrov@mirantis.com>
Thu, 7 Nov 2013 14:43:30 +0000 (18:43 +0400)
committerDmitry Burmistrov <dburmistrov@mirantis.com>
Thu, 7 Nov 2013 14:43:30 +0000 (18:43 +0400)
debian/mcollective.init
mcollective.init

index 6fb229b0c1cc0397018eff095951ea090380706e..6b02d0b06572066b6aefa05a5db090168190e5ca 100755 (executable)
@@ -47,7 +47,7 @@ case "$1" in
         echo "Starting daemon: " $name
         # start the program
        if [ -f $pidfile ]; then
-               if [ -f "$(cat /proc/$(cat $pidfile)/exe > /dev/null)" ] ; then
+               if [ -f $(cat /proc/$(cat $pidfile)/exe > /dev/null) ] ; then
                        echo MCollective appears to be running
                        exit 1
                else
index 6fb229b0c1cc0397018eff095951ea090380706e..6b02d0b06572066b6aefa05a5db090168190e5ca 100644 (file)
@@ -47,7 +47,7 @@ case "$1" in
         echo "Starting daemon: " $name
         # start the program
        if [ -f $pidfile ]; then
-               if [ -f "$(cat /proc/$(cat $pidfile)/exe > /dev/null)" ] ; then
+               if [ -f $(cat /proc/$(cat $pidfile)/exe > /dev/null) ] ; then
                        echo MCollective appears to be running
                        exit 1
                else