summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2017-02-20 21:27:37 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2017-02-20 21:27:37 +0000
commit839b13d0883bc2481d183546d8008fa6260bcd4d (patch)
tree60ce5ddd49eb485a03abfec8077e1c9599b66fb7 /distrib/miniroot
parentae626750a0dd09112aa5ed4462260f258e66fa76 (diff)
Zap the extra echo and show the prompt using the var?'prompt' feature
of read.
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/dot.profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/dot.profile b/distrib/miniroot/dot.profile
index 7d9c6fbdf94..82dc113194f 100644
--- a/distrib/miniroot/dot.profile
+++ b/distrib/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.36 2016/09/09 14:52:28 rpe Exp $
+# $OpenBSD: dot.profile,v 1.37 2017/02/20 21:27:36 rpe Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 2009 Kenneth R. Westerback
@@ -94,8 +94,7 @@ __EOT
fi
while :; do
- echo -n '(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? '
- read REPLY
+ read REPLY?'(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? '
# Begin the automatic installation if the timeout has expired.
if $timeout; then