summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder-volume2
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
index f753810..7d0aa14 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
@@ -61,7 +61,7 @@ status()
61{ 61{
62 pid=`cat $PIDFILE 2>/dev/null` 62 pid=`cat $PIDFILE 2>/dev/null`
63 if [ -n "$pid" ]; then 63 if [ -n "$pid" ]; then
64 if ps -p $pid >&- ; then 64 if ps -p $pid > /dev/null 2>&1 ; then
65 echo "$DESC is running" 65 echo "$DESC is running"
66 return 66 return
67 fi 67 fi
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
index f130ac8..4c97962 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
@@ -63,7 +63,7 @@ status()
63{ 63{
64 pid=`cat $PIDFILE 2>/dev/null` 64 pid=`cat $PIDFILE 2>/dev/null`
65 if [ -n "$pid" ]; then 65 if [ -n "$pid" ]; then
66 if ps -p $pid >&- ; then 66 if ps -p $pid > /dev/null 2>&1 ; then
67 echo "$DESC is running" 67 echo "$DESC is running"
68 return 68 return
69 fi 69 fi