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