diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-all b/meta-openstack/recipes-devtools/python/python-nova/nova-all index c1d537d..914b714 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova-all +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-all | |||
| @@ -62,7 +62,7 @@ status() | |||
| 62 | { | 62 | { |
| 63 | pid=`cat $PIDFILE 2>/dev/null` | 63 | pid=`cat $PIDFILE 2>/dev/null` |
| 64 | if [ -n "$pid" ]; then | 64 | if [ -n "$pid" ]; then |
| 65 | if ps -p $pid >&- ; then | 65 | if ps -p $pid > /dev/null 2>&1 ; then |
| 66 | echo "$DESC is running" | 66 | echo "$DESC is running" |
| 67 | return | 67 | return |
| 68 | fi | 68 | fi |
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth index 99f04d5..9a74107 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | |||
| @@ -48,7 +48,7 @@ status() | |||
| 48 | { | 48 | { |
| 49 | pid=`cat $PIDFILE 2>/dev/null` | 49 | pid=`cat $PIDFILE 2>/dev/null` |
| 50 | if [ -n "$pid" ]; then | 50 | if [ -n "$pid" ]; then |
| 51 | if ps -p $pid >&- ; then | 51 | if ps -p $pid > /dev/null 2>&1 ; then |
| 52 | echo "$DESC is running" | 52 | echo "$DESC is running" |
| 53 | return | 53 | return |
| 54 | fi | 54 | fi |
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init index 46b28d3..607b6de 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova.init +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init | |||
| @@ -78,7 +78,7 @@ status() | |||
| 78 | { | 78 | { |
| 79 | pid=`cat $PIDFILE 2>/dev/null` | 79 | pid=`cat $PIDFILE 2>/dev/null` |
| 80 | if [ -n "$pid" ]; then | 80 | if [ -n "$pid" ]; then |
| 81 | if ps -p $pid >&- ; then | 81 | if ps -p $pid > /dev/null 2>&1 ; then |
| 82 | echo "$DESC is running" | 82 | echo "$DESC is running" |
| 83 | return | 83 | return |
| 84 | fi | 84 | fi |
