Avoid g_log_set_always_fatal() for the FUSE client.
[captive.git] / src / client / fuse / main.c
index 705b6a8..488d547 100644 (file)
@@ -57,7 +57,7 @@
 /* FIXME: Dupe with libcaptive/client/options.c */
 #define DEFAULT_SYSLOG_FACILITY LOG_DAEMON
 /* Each element must be preceded by a comma (',')! */
-#define LIBFUSE_ADDONS ",default_permissions,kernel_cache"
+#define LIBFUSE_ADDONS ",default_permissions,allow_other,kernel_cache"
 
 
 CaptiveVfsObject *capfuse_captive_vfs_object;
@@ -146,11 +146,9 @@ char **sp;
 }
 #endif
 
-       g_log_set_always_fatal(~(0
-                       |G_LOG_LEVEL_MESSAGE
-                       |G_LOG_LEVEL_INFO
-                       |G_LOG_LEVEL_DEBUG
-                       ));
+       /* Do not set g_log_set_always_fatal() here as we would not be able
+        * to restart failed children due to communication-failure alarms.
+        */
 
        captive_standalone_init();