[ovs-dev] [PATCH] ovs-ctl.in: Don't execute an empty restore_ofports script.

Gurucharan Shetty shettyg at nicira.com
Tue Feb 12 17:40:17 UTC 2013


While upgrading from openvswitch1.10, we need not
restore ofports across force-reload-kmod. This patch
fixes a bug wherein 'force-reload-kmod' command tried
to execute an empty script.

Bug #15067
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 utilities/ovs-ctl.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
index 8288e13..e186e71 100755
--- a/utilities/ovs-ctl.in
+++ b/utilities/ovs-ctl.in
@@ -287,6 +287,7 @@ save_ofports_if_required () {
                 "${script_ofports}" script_ofports
             ;;
         *)
+            script_ofports=""
             ;;
     esac
 }
-- 
1.7.9.5




More information about the dev mailing list