Source-Changes-HG archive

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

[src/trunk]: src/distrib/miniroot Fix miniroot installation failure on networ...



details:   https://anonhg.NetBSD.org/src/rev/d84952d7e13c
branches:  trunk
changeset: 467048:d84952d7e13c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jan 12 03:37:10 2020 +0000

description:
Fix miniroot installation failure on network configuration.  PR/54833

No particular comment in the PR.
Should be pulled up to netbsd-9.

diffstat:

 distrib/miniroot/install.sub |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4077e374b633 -r d84952d7e13c distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub      Sun Jan 12 00:35:11 2020 +0000
+++ b/distrib/miniroot/install.sub      Sun Jan 12 03:37:10 2020 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: install.sub,v 1.49 2019/10/02 11:15:59 maya Exp $
+#      $NetBSD: install.sub,v 1.50 2020/01/12 03:37:10 tsutsui Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -429,7 +429,7 @@
 
        # Get netmask
        resp=""         # force one iteration
-       while [ -n "${resp}" ]; do
+       while [ -z "${resp}" ]; do
                echo -n "Netmask? [$_interface_mask] "
                getresp "$_interface_mask"
                _interface_mask=$resp



Home | Main Index | Thread Index | Old Index