diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-heat')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-heat/heat.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-heat/heat.init b/meta-openstack/recipes-devtools/python/python-heat/heat.init index 5e0719f..794ac6a 100644 --- a/meta-openstack/recipes-devtools/python/python-heat/heat.init +++ b/meta-openstack/recipes-devtools/python/python-heat/heat.init | |||
| @@ -68,7 +68,7 @@ status() | |||
| 68 | { | 68 | { |
| 69 | pid=`cat $PIDFILE 2>/dev/null` | 69 | pid=`cat $PIDFILE 2>/dev/null` |
| 70 | if [ -n "$pid" ]; then | 70 | if [ -n "$pid" ]; then |
| 71 | if ps -p $pid >&- ; then | 71 | if ps -p $pid > /dev/null 2>&1 ; then |
| 72 | echo "$DESC is running" | 72 | echo "$DESC is running" |
| 73 | return | 73 | return |
| 74 | fi | 74 | fi |
