diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-05 21:09:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-05 21:09:55 +0000 |
commit | 10476b72c6e0d07d26ff1ee8cdb16b8f69d1361f (patch) | |
tree | dc0183e9d05a734a2333a4c8946cbde18e5c5285 /distrib | |
parent | f07afdf6f1b79d9e86357060563e75d22a4e9f05 (diff) |
cope with users who cannot read the username question
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index d2f02288ed4..8c5ff7a87df 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.523 2009/05/05 19:36:31 sthen Exp $ +# $OpenBSD: install.sub,v 1.524 2009/05/05 21:09:54 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 @@ -313,9 +313,12 @@ user_setup() { local _u _n _encr ask "Setup a user? (enter a lower-case loginname, or 'no')" no - case $resp in n|no) return ;; + y|yes) ask "No really, what is the lower-case loginname, or 'no'?" + case $resp in + n|no) return ;; + esac esac _u=$resp |