diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-trove/trove-init')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-trove/trove-init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-trove/trove-init b/meta-openstack/recipes-devtools/python/python-trove/trove-init index 584bf77..ee0bd21 100644 --- a/meta-openstack/recipes-devtools/python/python-trove/trove-init +++ b/meta-openstack/recipes-devtools/python/python-trove/trove-init | |||
@@ -73,7 +73,7 @@ status() | |||
73 | { | 73 | { |
74 | pid=`cat $PIDFILE 2>/dev/null` | 74 | pid=`cat $PIDFILE 2>/dev/null` |
75 | if [ -n "$pid" ]; then | 75 | if [ -n "$pid" ]; then |
76 | if ps -p $pid >&- ; then | 76 | if ps -p $pid > /dev/null 2>&1 ; then |
77 | echo "$DESC is running" | 77 | echo "$DESC is running" |
78 | return | 78 | return |
79 | fi | 79 | fi |