mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
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:
@@ -79,7 +79,7 @@ int main(int argc, char *argv[]) {
|
|||||||
// Initialize network (wired only for bootstrap)
|
// Initialize network (wired only for bootstrap)
|
||||||
printf("Initializing wired network...\n");
|
printf("Initializing wired network...\n");
|
||||||
if (system("/sbin/init-network 2>/dev/null") != 0) {
|
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");
|
printf("Starting shell...\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user