Index: libfuse/main.c
diff -u libfuse/main.c:1.12 libfuse/main.c:1.13
--- libfuse/main.c:1.12 Sat Dec  3 23:16:17 2005
+++ libfuse/main.c      Tue Dec  6 14:25:03 2005
@@ -294,18 +294,10 @@
 
   mach_port_t bootstrap, ul_node;
 
+  /* netfs initialization.  */
+
   task_get_bootstrap_port(mach_task_self(), &bootstrap);
-  if(bootstrap == MACH_PORT_NULL)
-    {
-      /* no assigned bootstrap port, i.e. we got called as a
-       * common program, not using settrans
-       */
-      fprintf(stderr, "program must be started as a translator.\n");
-      return EPERM;
-    }
 
-  /* we have got a bootstrap port, that is, we were set up
-   * using settrans and may start with normal operation ... */
   netfs_init();
 
   ul_node = netfs_startup(bootstrap, 0);


_______________________________________________
Hurdextras-commit mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/hurdextras-commit

Reply via email to