diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth index 99f04d5..9a74107 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | |||
| @@ -48,7 +48,7 @@ status() | |||
| 48 | { | 48 | { |
| 49 | pid=`cat $PIDFILE 2>/dev/null` | 49 | pid=`cat $PIDFILE 2>/dev/null` |
| 50 | if [ -n "$pid" ]; then | 50 | if [ -n "$pid" ]; then |
| 51 | if ps -p $pid >&- ; then | 51 | if ps -p $pid > /dev/null 2>&1 ; then |
| 52 | echo "$DESC is running" | 52 | echo "$DESC is running" |
| 53 | return | 53 | return |
| 54 | fi | 54 | fi |
