projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aabf535
)
ovs-ctl.in: Do not fail 'restart'.
author
Gurucharan Shetty
<gshetty@nicira.com>
Mon, 29 Oct 2012 19:25:09 +0000
(12:25 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Mon, 29 Oct 2012 19:25:09 +0000
(12:25 -0700)
ovs-ctl restart is called by the debian package upgrade.
We do not want to fail the package upgrade just because
restoring of flows failed.
The error message will still be printed on the console.
Bug #13730.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/ovs-ctl.in
patch
|
blob
|
history
diff --git
a/utilities/ovs-ctl.in
b/utilities/ovs-ctl.in
index e8b72bad76138fcca75020d99fce75ddcd1e1fad..7febd1c2198527408ba544c22f1a98357375ac36 100755
(executable)
--- a/
utilities/ovs-ctl.in
+++ b/
utilities/ovs-ctl.in
@@
-420,7
+420,8
@@
restart () {
stop_forwarding
start_forwarding
- restore_flows
+ # Restore the saved flows. Do not return error if restore fails.
+ restore_flows || true
}
## --------------- ##