debuggers.hg

changeset 22068:c9f7a66149dc

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>
author Brendan Cully <brendan@cs.ubc.ca>
date Wed Aug 18 14:50:51 2010 +0100 (2010-08-18)
parents 5218db847b58
children af6799abc6e9
files tools/hotplug/Linux/vif-setup
line diff
     1.1 --- a/tools/hotplug/Linux/vif-setup	Tue Aug 17 19:32:37 2010 +0100
     1.2 +++ b/tools/hotplug/Linux/vif-setup	Wed Aug 18 14:50:51 2010 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  if test "$script"
     1.6  then
     1.7 -    exec "$script" $*
     1.8 +    exec $script $*
     1.9  else
    1.10      exec /etc/xen/scripts/vif-bridge $*
    1.11  fi