[ovs-git] Open vSwitch: ovs-lib: Return the exit status of ovs-ctl in ovs_ctl(). (branch-1.10)

dev at openvswitch.org dev at openvswitch.org
Wed Oct 2 18:05:57 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.10 has been updated
       via  1593dc6f9c14af7856f911b51a0d03fcce6d39a4 (commit)
      from  43bff4fec26703c586478cd7cbea48ef4dd8265e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1593dc6f9c14af7856f911b51a0d03fcce6d39a4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1593dc6f9c14af7856f911b51a0d03fcce6d39a4
Author: Duffie Cooley <dcooley at nicira.com>
		
ovs-lib: Return the exit status of ovs-ctl in ovs_ctl().
		
commit 46528f78e5c(debian, rhel, xenserver: Ability to collect ovs-ctl logs)
made changes in the startup scripts such that the o/p of ovs-ctl is logged
into ovs-ctl.log. But it had an unintended consequence that the exit status
of ovs-ctl was no longer returned. We would always return success(the exit
status of tee).

With this commit, we return the exit status of ovs-ctl instead of tee.
Code referenced from: (line wrapped).
http://unix.stackexchange.com/questions/14270/\
get-exit-status-of-process-thats-piped-to-another/70675#70675)

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Signed-off-by: Duffie Cooley <dcooley at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 utilities/ovs-lib.in |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list