diff options
author | Markos Chandras <mchandras@suse.de> | 2016-09-12 10:07:56 +0100 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-10-04 11:53:19 -0700 |
commit | 39f9a325069d2a594dfb5e15f8139e16f93ff026 (patch) | |
tree | 04114be5ba6b2771bb50a84eaa8189cd625e9107 /utilities | |
parent | a6095f815ed9b8a8d4e9989179d14308c1ed112c (diff) | |
download | openvswitch-39f9a325069d2a594dfb5e15f8139e16f93ff026.tar.gz |
ovs-lib: Signal start_daemon failures.
Make sure we communicate failures to the caller when start_daemon fails
to start a process as the caller may not be able to proceed after this.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/ovs-lib.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in index 4c0775053..b7680bbaf 100644 --- a/utilities/ovs-lib.in +++ b/utilities/ovs-lib.in @@ -215,7 +215,7 @@ start_daemon () { set nice -n "$priority" "$@" fi - action "Starting $daemon" "$@" + action "Starting $daemon" "$@" || return 1 if test X"$strace" != X; then # Strace doesn't have the -D option so we attach after the fact. |