Jiří Moskovčák has uploaded a new change for review. Change subject: init: Propagate status return value to start and stop functions ......................................................................
init: Propagate status return value to start and stop functions The status function should store the return status both in the RETVAL variable and return it as the function return value so that it can be used by the start, stop, and other functions. Change-Id: I50f7b7e30ead2cab80e62ea38cbdb1376fa7966a Bug-Url: https://bugzilla.redhat.com/1123285 Signed-off-by: Greg Padgett <[email protected]> (cherry picked from commit 957facc570c100af54c061b111abbe4220e897c8) --- 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/73/30873/1 diff --git a/initscripts/ovirt-ha-agent.init.in b/initscripts/ovirt-ha-agent.init.in index 259fcd7..4c8b1f8 100755 --- a/initscripts/ovirt-ha-agent.init.in +++ b/initscripts/ovirt-ha-agent.init.in @@ -76,6 +76,7 @@ rh_status() { status $prog RETVAL=$? + return $RETVAL } rh_status_q() { diff --git a/initscripts/ovirt-ha-broker.init.in b/initscripts/ovirt-ha-broker.init.in index 3748c99..5b1d303 100755 --- a/initscripts/ovirt-ha-broker.init.in +++ b/initscripts/ovirt-ha-broker.init.in @@ -71,6 +71,7 @@ rh_status() { status $prog RETVAL=$? + return $RETVAL } rh_status_q() { -- To view, visit http://gerrit.ovirt.org/30873 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I50f7b7e30ead2cab80e62ea38cbdb1376fa7966a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: ovirt-hosted-engine-ha-1.2 Gerrit-Owner: Jiří Moskovčák <[email protected]> Gerrit-Reviewer: Greg Padgett <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
