diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova/nova.init')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init index 46b28d3..607b6de 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova.init +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init | |||
| @@ -78,7 +78,7 @@ status() | |||
| 78 | { | 78 | { |
| 79 | pid=`cat $PIDFILE 2>/dev/null` | 79 | pid=`cat $PIDFILE 2>/dev/null` |
| 80 | if [ -n "$pid" ]; then | 80 | if [ -n "$pid" ]; then |
| 81 | if ps -p $pid >&- ; then | 81 | if ps -p $pid > /dev/null 2>&1 ; then |
| 82 | echo "$DESC is running" | 82 | echo "$DESC is running" |
| 83 | return | 83 | return |
| 84 | fi | 84 | fi |
