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