diff options
author | Brendan Cully <brendan@cs.ubc.ca> | 2010-08-18 14:50:51 +0100 |
---|---|---|
committer | Brendan Cully <brendan@cs.ubc.ca> | 2010-08-18 14:50:51 +0100 |
commit | 33577c40bfcf5b3284ee2be9ddb9edb91bfb6cee (patch) | |
tree | 3aa3de408c2d7336503735d0549ef0365fb7e131 /tools/hotplug | |
parent | 2a9f4ae1adfa1029587590f9af1a373ae85155a4 (diff) | |
download | xen-33577c40bfcf5b3284ee2be9ddb9edb91bfb6cee.tar.gz xen-33577c40bfcf5b3284ee2be9ddb9edb91bfb6cee.tar.bz2 xen-33577c40bfcf5b3284ee2be9ddb9edb91bfb6cee.zip |
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>
Diffstat (limited to 'tools/hotplug')
-rw-r--r-- | tools/hotplug/Linux/vif-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hotplug/Linux/vif-setup b/tools/hotplug/Linux/vif-setup index 677e29ca3f..bcc462eaf5 100644 --- 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 |