Improve network initialization warning message

Make the warning message more specific to help with troubleshooting network issues during boot.

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 15:37:20 +00:00
parent 0adbb5fde0
commit a754cc57a6

View File

@@ -79,7 +79,7 @@ int main(int argc, char *argv[]) {
// Initialize network (wired only for bootstrap)
printf("Initializing wired network...\n");
if (system("/sbin/init-network 2>/dev/null") != 0) {
fprintf(stderr, "Warning: Network initialization failed or not available\n");
fprintf(stderr, "Warning: Network initialization failed - check network interface availability\n");
}
printf("Starting shell...\n");