typo fix: check right dir before starting ceph-manager
It should be "/proc" instead of "/prod" Change-Id: Ibba46e69f69aca82698f51c31496dbe4c3a39eb5 Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
This commit is contained in:
parent
161a1768b8
commit
dc73de090f
@ -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