From: Ben Pfaff Date: Mon, 11 Jan 2010 18:04:13 +0000 (-0800) Subject: xenserver: Fix init script with multiple --remote options to ovsdb-server. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50866f3f0d560c0b0cbf5486a98afb69cb0c66ec;p=openvswitch xenserver: Fix init script with multiple --remote options to ovsdb-server. Reported-by: Peter Balland --- diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index 789ec739..a8d5a388 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -137,8 +137,8 @@ function start_ovsdb_server { fi cd "$OVSDB_SERVER_RUN_DIR" local remotes= - for remote in "$OVSDB_SERVER_REMOTES"; do - remotes="$remotes --remote=$OVSDB_SERVER_REMOTES" + for remote in $OVSDB_SERVER_REMOTES; do + remotes="$remotes --remote=$remote" done if [ -n "$OVSDB_SERVER_FILE_LOGLEVEL" ]; then logfile_level_opt="-vANY:FILE:${OVSDB_SERVER_FILE_LOGLEVEL}"