Jiří Moskovčák has uploaded a new change for review.

Change subject: init scripts: fixed the return value of status command
......................................................................

init scripts: fixed the return value of status command

Change-Id: I3a7f74248c803e2c96350cb70e1e94c52b24d745
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1109545
Signed-off-by: Jiri Moskovcak <[email protected]>
---
M initscripts/ovirt-ha-agent.init.in
M initscripts/ovirt-ha-broker.init.in
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/42/30642/1

diff --git a/initscripts/ovirt-ha-agent.init.in 
b/initscripts/ovirt-ha-agent.init.in
index 33353ea..259fcd7 100755
--- a/initscripts/ovirt-ha-agent.init.in
+++ b/initscripts/ovirt-ha-agent.init.in
@@ -75,6 +75,7 @@
 
 rh_status() {
     status $prog
+    RETVAL=$?
 }
 
 rh_status_q() {
diff --git a/initscripts/ovirt-ha-broker.init.in 
b/initscripts/ovirt-ha-broker.init.in
index f8ef5fc..3748c99 100755
--- a/initscripts/ovirt-ha-broker.init.in
+++ b/initscripts/ovirt-ha-broker.init.in
@@ -70,6 +70,7 @@
 
 rh_status() {
     status $prog
+    RETVAL=$?
 }
 
 rh_status_q() {


-- 
To view, visit http://gerrit.ovirt.org/30642
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a7f74248c803e2c96350cb70e1e94c52b24d745
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.2
Gerrit-Owner: Jiří Moskovčák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to