diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova/nova-all')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova-all | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-all b/meta-openstack/recipes-devtools/python/python-nova/nova-all index c1d537d..914b714 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova-all +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-all | |||
@@ -62,7 +62,7 @@ status() | |||
62 | { | 62 | { |
63 | pid=`cat $PIDFILE 2>/dev/null` | 63 | pid=`cat $PIDFILE 2>/dev/null` |
64 | if [ -n "$pid" ]; then | 64 | if [ -n "$pid" ]; then |
65 | if ps -p $pid >&- ; then | 65 | if ps -p $pid > /dev/null 2>&1 ; then |
66 | echo "$DESC is running" | 66 | echo "$DESC is running" |
67 | return | 67 | return |
68 | fi | 68 | fi |