Vinzenz Feenstra has posted comments on this change. Change subject: No output when guest agent already running or stopped on RHEL5/6 ......................................................................
Patch Set 2: (1 comment) http://gerrit.ovirt.org/#/c/28319/2/ovirt-guest-agent/ovirt-guest-agent.in File ovirt-guest-agent/ovirt-guest-agent.in: Line 72: RETVAL=$? Line 73: ;; Line 74: Line 75: restart) Line 76: $0 stop > Yep, not sure $0 is needed; won't hurt to have it, though. Added also below. The $0 is causing the switch to be re-executed and use the new way. I have picked this up from some default sysv init script somewhere. This way I don't have to redo the conditions Line 77: $0 start Line 78: ;; Line 79: Line 80: condrestart) -- To view, visit http://gerrit.ovirt.org/28319 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id27e5b9f91b675fb5f2d2be8d5d1663efd34293f Gerrit-PatchSet: 2 Gerrit-Project: ovirt-guest-agent Gerrit-Branch: master Gerrit-Owner: Vinzenz Feenstra <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Vinzenz Feenstra <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
