mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/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 <brendan@cs.ubc.ca> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
2a9f4ae1ad
commit
33577c40bf
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
if test "$script"
|
||||
then
|
||||
exec "$script" $*
|
||||
exec $script $*
|
||||
else
|
||||
exec /etc/xen/scripts/vif-bridge $*
|
||||
fi
|
||||
|
||||