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:
Brendan Cully committed 2010-08-18 14:50:51 +01:00
1 parent 2a9f4ae1ad
commit 33577c40bf
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
if test "$script"
then
exec "$script" $*
exec $script $*
else
exec /etc/xen/scripts/vif-bridge $*
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.