- Remove a debugging echo.
- When we change the IFS make sure to return it to its previous value before executing a command.
This commit is contained in:
parent
82cdd526b1
commit
991ce918f2
@ -67,7 +67,9 @@ ifconfig_down()
|
||||
|
||||
_inet=`expr "$_inet" : '.*\(inet \([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}\).*'`
|
||||
|
||||
echo ifconfig $1 ${_inet} delete
|
||||
IFS="$oldifs"
|
||||
ifconfig $1 ${_inet} delete
|
||||
IFS="$_ifs"
|
||||
_ret=0
|
||||
done
|
||||
IFS="$oldifs"
|
||||
|
Loading…
Reference in New Issue
Block a user