diff options
Diffstat (limited to 'network-scripts')
-rwxr-xr-x | network-scripts/ifup-eth | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network-scripts/ifup-eth b/network-scripts/ifup-eth index bbb17790..b55db79e 100755 --- a/network-scripts/ifup-eth +++ b/network-scripts/ifup-eth @@ -58,9 +58,9 @@ if [ "${TYPE}" = "Bridge" ]; then [ -n "${AGEING}" ] && bridge_opts+="ageing_time ${AGEING} " if [ ! -d /sys/class/net/${DEVICE}/bridge ]; then - ip link add ${DEVICE} type bridge $bridge_opts + ip link add ${DEVICE} type bridge $bridge_opts || exit 1 elif [ -n "${OPTS}" ]; then - ip link set ${DEVICE} type bridge $bridge_opts + ip link set ${DEVICE} type bridge $bridge_opts || exit 1 fi unset bridge_opts |