summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init2
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
index 8b11a27..c9d8d72 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
@@ -60,7 +60,7 @@ status()
60{ 60{
61 pid=`cat $PIDFILE 2>/dev/null` 61 pid=`cat $PIDFILE 2>/dev/null`
62 if [ -n "$pid" ]; then 62 if [ -n "$pid" ]; then
63 if ps -p $pid >&- ; then 63 if ps -p $pid > /dev/null 2>&1 ; then
64 echo "$DESC is running" 64 echo "$DESC is running"
65 return 65 return
66 fi 66 fi
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
index 0c78de6..77f8f01 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.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