Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2024 02:00:34 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7414d14bd51d - main - bsdinstall: Drop Error from title in netconfig no interfaces dialog
Message-ID:  <202402030200.41320Y3v054593@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=7414d14bd51d8378057bbe952c2715b9f32d1d3e

commit 7414d14bd51d8378057bbe952c2715b9f32d1d3e
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-02-03 01:52:53 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-02-03 01:52:53 +0000

    bsdinstall: Drop Error from title in netconfig no interfaces dialog
    
    This isn't inherently an error. It is if you're attempting to download
    dist tarballs or later install packages, but a FreeBSD system with no
    NIC is a reasonable setup to have, especially in a throwaway VM setting,
    so we shouldn't say it is one.
    
    Leaving the exit code as 1 is still fine, since auto will ignore it, and
    avoids breaking other uses.
    
    MFC after:      1 week
---
 usr.sbin/bsdinstall/scripts/netconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/netconfig b/usr.sbin/bsdinstall/scripts/netconfig
index a370d455e211..58fbe1883d40 100755
--- a/usr.sbin/bsdinstall/scripts/netconfig
+++ b/usr.sbin/bsdinstall/scripts/netconfig
@@ -67,7 +67,7 @@ done
 
 if [ -z "$INTERFACES" ]; then
 	bsddialog --backtitle "$OSNAME Installer" \
-	    --title 'Network Configuration Error' \
+	    --title 'Network Configuration' \
 	    --msgbox 'No network interfaces present to configure.' 0 0
 	exit 1
 fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402030200.41320Y3v054593>