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
Change source structure according to OSCI-991
[packages/precise/mcollective.git]
/
debian
/
mcollective.init
diff --git
a/debian/mcollective.init
b/debian/mcollective.init
index 6fb229b0c1cc0397018eff095951ea090380706e..2cd6cff6f00843a8e9f2fd16760be860c62f9698 100755
(executable)
--- a/
debian/mcollective.init
+++ b/
debian/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 /proc/"$(cat $pidfile)"/exe
] ; then
echo MCollective appears to be running
exit 1
else
echo MCollective appears to be running
exit 1
else