more
This commit is contained in:
parent
977581b761
commit
7d249d8245
@ -13,8 +13,8 @@ script
|
||||
while read -r dev; do
|
||||
[ -n "$dev" ] || continue
|
||||
rc=0
|
||||
# Try all devices before exiting with error
|
||||
ip link set $dev mtu $mtu || rc=$?
|
||||
[ $rc = 0 ] || break
|
||||
done < $tmpfile
|
||||
rm $tmpfile
|
||||
[ $rc = 0 ] || exit $rc
|
||||
|
Loading…
x
Reference in New Issue
Block a user