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