Bug fix: remove warning in pidfile removal
This commit is contained in:
@@ -23,7 +23,9 @@ stop() {
|
|||||||
local ret=$?
|
local ret=$?
|
||||||
|
|
||||||
eend ${ret} "Failed to stop ripping-cluster-worker"
|
eend ${ret} "Failed to stop ripping-cluster-worker"
|
||||||
${ret} || rm -f ${PID_FILE}
|
if [[ "${ret}" == 0 ]]; then
|
||||||
|
rm -f ${PID_FILE}
|
||||||
|
fi
|
||||||
|
|
||||||
return ${ret}
|
return ${ret}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user