Code Review
/
packages
/
precise
/
mcollective.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update mcollective.init script according to OSCI-921
[packages/precise/mcollective.git]
/
mcollective.init
diff --git
a/mcollective.init
b/mcollective.init
old mode 100644
(file)
new mode 100755
(executable)
index
6b02d0b
..
6fb229b
--- a/
mcollective.init
+++ b/
mcollective.init
@@
-47,7
+47,7
@@
case "$1" in
echo "Starting daemon: " $name
# start the program
if [ -f $pidfile ]; then
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
echo MCollective appears to be running
exit 1
else