Merge "typo fix: check right dir before starting ceph-manager"
This commit is contained in:
commit
502792b995
@ -27,8 +27,8 @@ LOGFILE="/var/log/ceph-manager.log"
|
||||
start()
|
||||
{
|
||||
if [ -e $PIDFILE ]; then
|
||||
PIDDIR=/prod/$(cat $PIDFILE)
|
||||
if [ -d ${PIDFILE} ]; then
|
||||
PIDDIR=/proc/$(cat $PIDFILE)
|
||||
if [ -d ${PIDDIR} ]; then
|
||||
echo "$DESC already running."
|
||||
exit 0
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user