diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon/horizon.init')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon/horizon.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init index 994fbec..be79353 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init +++ b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init | |||
| @@ -58,7 +58,7 @@ status() | |||
| 58 | { | 58 | { |
| 59 | pid=`cat $PIDFILE 2>/dev/null` | 59 | pid=`cat $PIDFILE 2>/dev/null` |
| 60 | if [ -n "$pid" ]; then | 60 | if [ -n "$pid" ]; then |
| 61 | if ps -p $pid >&- ; then | 61 | if ps -p $pid > /dev/null 2>&1 ; then |
| 62 | echo "$DESC is running" | 62 | echo "$DESC is running" |
| 63 | return | 63 | return |
| 64 | fi | 64 | fi |
