git: 6368aa66f8a7 - stable/14 - bsdinstall: Drop Error from title in netconfig no interfaces dialog
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Sep 2024 01:48:00 UTC
The branch stable/14 has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=6368aa66f8a7c5f1ac322575e4ce4ee4d196b4d8
commit 6368aa66f8a7c5f1ac322575e4ce4ee4d196b4d8
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-02-03 01:52:53 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-09-07 00:00:51 +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
(cherry picked from commit 7414d14bd51d8378057bbe952c2715b9f32d1d3e)
---
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 300dcc6f5e5e..19644898a66a 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