tools/hotplug: 21549:8bcaec29574e breaks vif-script with arguments.
authorBrendan Cully <brendan@cs.ubc.ca>
Wed, 18 Aug 2010 13:50:51 +0000 (14:50 +0100)
committerBrendan Cully <brendan@cs.ubc.ca>
Wed, 18 Aug 2010 13:50:51 +0000 (14:50 +0100)
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 <brendan@cs.ubc.ca>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/vif-setup

index 677e29ca3f609c0b440bb95a18a524edc4051d74..bcc462eaf586910b159abfa78f6fce27433033bb 100644 (file)
@@ -2,7 +2,7 @@
 
 if test "$script"
 then
-    exec "$script" $*
+    exec $script $*
 else
     exec /etc/xen/scripts/vif-bridge $*
 fi