|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Use new do_without_error function to squelch the errors
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 2b09e58cb1088104c1a3425c49cfd386fc04587c
# Parent a12bd9e8fdf8bb647c6834a441f81d88b6adccc5
Use new do_without_error function to squelch the errors when closing down an
interface.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r a12bd9e8fdf8 -r 2b09e58cb108 tools/examples/vif-bridge
--- a/tools/examples/vif-bridge Fri Dec 9 10:50:26 2005
+++ b/tools/examples/vif-bridge Fri Dec 9 10:50:49 2005
@@ -61,9 +61,8 @@
;;
offline)
- brctl delif "$bridge" "$vif" ||
- log debug "brctl delif $bridge $vif failed"
- ifconfig "$vif" down || log debug "ifconfig $vif down failed"
+ do_without_error brctl delif "$bridge" "$vif"
+ do_without_error ifconfig "$vif" down
;;
esac
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Use new do_without_error function to squelch the errors when closing down an,
Xen patchbot -unstable <=
|
|
|
|
|