From 141642d17f8029bfdf1e76c63cebbd5232452ad1 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Tue, 12 Feb 2013 09:29:55 -0800 Subject: [PATCH] ovs-ctl.in: Don't execute the restore ofport script in some cases. 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 that did not have '+x' in file permissions. Bug #15067 Signed-off-by: Gurucharan Shetty --- utilities/ovs-ctl.in | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 8288e1336..e186e710c 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 } -- 2.20.1