From: Brendan Cully Subject: [PATCH] hotplug: 21549:8bcaec29574e breaks vif-script with arguments Date: Tue, 17 Aug 2010 15:13:50 -0700 Message-ID: <74b9fe513d8591ca1423.1282083230@anthrax.cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Brendan Cully # Date 1282083158 25200 # Node ID 74b9fe513d8591ca14233590062079b042abb68d # Parent 774dfc178c39bd3fe2ec14b4f96e60b78391b397 hotplug: 21549:8bcaec29574e breaks vif-script with arguments. For example, (vif-script 'vif-bridge bridge=eth1') in xend-config.sxp will cause vif-setup to attempt to execute 'vif-bridge bridge=eth1' due to a quoting mismatch. The fix appears to be to remove the extra quotes around "$script" in vif-setup. Signed-off-by: Brendan Cully diff --git a/tools/hotplug/Linux/vif-setup b/tools/hotplug/Linux/vif-setup --- a/tools/hotplug/Linux/vif-setup +++ b/tools/hotplug/Linux/vif-setup @@ -2,7 +2,7 @@ if test "$script" then - exec "$script" $* + exec $script $* else exec /etc/xen/scripts/vif-bridge $* fi