Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/amiga/miniroot Fix loop termination bug.



details:   https://anonhg.NetBSD.org/src/rev/adcbf80f8657
branches:  trunk
changeset: 474149:adcbf80f8657
user:      is <is%NetBSD.org@localhost>
date:      Tue Jun 29 20:32:54 1999 +0000

description:
Fix loop termination bug.
Won't try any longer to disklabel /dev/rdonec when exiting the
"look at disk label" loop (in md_prep_disklabel).

diffstat:

 distrib/amiga/miniroot/install.md |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 95b3da5a3545 -r adcbf80f8657 distrib/amiga/miniroot/install.md
--- a/distrib/amiga/miniroot/install.md Tue Jun 29 19:51:28 1999 +0000
+++ b/distrib/amiga/miniroot/install.md Tue Jun 29 20:32:54 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.10 1999/06/29 16:08:10 is Exp $
+#      $NetBSD: install.md,v 1.11 1999/06/29 20:32:54 is Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -131,12 +131,13 @@
        echo "If you like, you can now examine the labels of your disks."
        echo ""
        echo -n "Available are "${_DKDEVS}". Look at which? [skip this step] "
-       while [ "X$resp" != X"done" ]; do
-               getresp "done"
+       getresp "done"
+       while [ "X$resp" != "Xdone" ]; do
                echo ""
                disklabel ${resp}
                echo ""
                echo -n "Available are "${_DKDEVS}". Look at which? [done] "
+               getresp "done"
        done
        cat << \__prep_disklabel_1
 



Home | Main Index | Thread Index | Old Index