diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2012-10-01 18:49:14 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2012-10-01 18:49:14 +0000 |
commit | 54998f4aa26f79eb872f0091bf6feaa2845c4aec (patch) | |
tree | 84eb76a4503c59d6786b92e4f16d84ba601eaca2 | |
parent | cf97bc627135c75c1e82cedd33487a3aa6172040 (diff) |
remove check for negative numbers in resp
previous check ensures positive numbers
ok halex@
-rw-r--r-- | distrib/miniroot/install.sub | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 27ae692a6c5..9c447512cbe 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.667 2012/09/29 17:42:10 rpe Exp $ +# $OpenBSD: install.sub,v 1.668 2012/10/01 18:49:13 rpe 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 @@ -1485,7 +1485,6 @@ install_tape() { ask_until "Skip how many files? (or 'done')" 0 [[ $resp == done ]] && return [[ $resp == +([0-9]) ]] || continue - (($resp < 0)) && continue if (($resp > 0)); then echo -n "Skipping $resp file(s)..." |