git: 8a29ebd6eac8 - stable/13 - bsdinstall: Drop Error from title in netconfig no interfaces dialog
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Dec 2025 18:18:24 UTC
The branch stable/13 has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=8a29ebd6eac87c340d1abf4b0f37a2c5e3ec8b60
commit 8a29ebd6eac87c340d1abf4b0f37a2c5e3ec8b60
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-02-03 01:52:53 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-12-15 17:56:34 +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 91852db3276c..ae7d1ff542ea 100755
--- a/usr.sbin/bsdinstall/scripts/netconfig
+++ b/usr.sbin/bsdinstall/scripts/netconfig
@@ -64,7 +64,7 @@ done
if [ -z "$INTERFACES" ]; then
dialog --backtitle 'FreeBSD Installer' \
- --title 'Network Configuration Error' \
+ --title 'Network Configuration' \
--msgbox 'No network interfaces present to configure.' 0 0
exit 1
fi