Use default IFS here
This commit is contained in:
		| @@ -54,9 +54,7 @@ bridge_pre_start() { | ||||
| 		einfo "Adding ports to ${IFACE}" | ||||
| 		eindent | ||||
|  | ||||
| 		local IFS="$__IFS" | ||||
| 		for x in ${ports}; do | ||||
| 			unset IFS | ||||
| 			ebegin "${x}" | ||||
| 			ifconfig "${x}" promisc up | ||||
| 			if ! brctl addif "${IFACE}" "${x}" ; then | ||||
| @@ -66,7 +64,6 @@ bridge_pre_start() { | ||||
| 			fi | ||||
| 			eend 0 | ||||
| 		done | ||||
| 		unset IFS | ||||
| 		eoutdent | ||||
| 	fi | ||||
| 	) || return 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user