Module Name:    src
Committed By:   tsutsui
Date:           Sun Jan 12 03:37:10 UTC 2020

Modified Files:
        src/distrib/miniroot: install.sub

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/distrib/miniroot/install.sub

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/miniroot/install.sub
diff -u src/distrib/miniroot/install.sub:1.49 src/distrib/miniroot/install.sub:1.50
--- src/distrib/miniroot/install.sub:1.49	Wed Oct  2 11:15:59 2019
+++ src/distrib/miniroot/install.sub	Sun Jan 12 03:37:10 2020
@@ -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 @@ configure_ifs() {
 
 	# 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

Reply via email to