>    This patch allows the computer to reboot if the user does not enter
   >    a value for the path to a server.
   > 
   > Didn't I post something similar a while back?

    Humm, if you did I did find it in the archives.

Looks like something ate my mail.  This is what I posted:

2003-01-10  Alfred M. Szmidt  <[EMAIL PROTECTED]>

        * init.c (start_child): Issue an error message (and loop forever)
        if creating a console fails.

--- init.c.~1.129.~     2002-05-08 16:02:18.000000000 +0200
+++ init.c      2003-01-10 23:20:57.000000000 +0100
@@ -1028,7 +1028,14 @@
        err = argz_create ((char **) argv, &args, &arglen);
       }
     }
-  assert_perror (err);
+
+  if (err)
+    {
+      error (0, err, "could not create a console");
+      /* Loop forever or untill someone presses the reboot button. */
+      for (;;)
+       ;
+    }
 
   file = file_name_lookup (args, O_EXEC, 0);
   if (file == MACH_PORT_NULL)





_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to