diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-03 03:35:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-03 03:35:18 +0000 |
commit | b7b55b7df11576a30a97911ac11f6cea75e14681 (patch) | |
tree | 6e245b6840fcbf245691ac1bf67bf1ea127c21f4 | |
parent | 9c9e0cc3f355b473739b8a965f537fbce8f4c071 (diff) |
the _oifs variables should be local; spotted by Alexander Hall
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index b9c01cbb500..68e93a4c3f9 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.510 2009/05/03 00:27:28 deraadt Exp $ +# $OpenBSD: install.sub,v 1.511 2009/05/03 03:35:17 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -293,7 +293,7 @@ ask() { # Ask for a password twice, saving the input in $_password askpassword() { - _oifs=$IFS + local _oifs=$IFS IFS= while :; do askpass "Password for $1 account? (will not echo)" @@ -590,7 +590,7 @@ __EOT } configure_ifs() { - local _IFDEVS=$IFDEVS _ifs _name _hn _vl _vli _vd _vi _p + local _IFDEVS=$IFDEVS _oifs _ifs _name _hn _vl _vli _vd _vi _p # Check if the kernel supports vlans, and if so, offer it up ifconfig $vlan99 destroy >/dev/null 2>&1 |