Don't print stderr/stdout from emergency fuse unmount

This commit is contained in:
Alexander Larsson committed 2017-02-24 14:16:12 +01:00
1 parent c0da3e49b9
commit f8388e7fdf
1 file changed
+1 -1
+1 -1
View File
@@ -502,7 +502,7 @@ rofiles_umount_handler (int signum)
argv[2] = rofiles_unmount_path;
g_debug ("unmounting rofiles-fuse %s", rofiles_unmount_path);
g_spawn_sync (NULL, (char **)argv, NULL,
G_SPAWN_SEARCH_PATH | G_SPAWN_CLOEXEC_PIPES,
G_SPAWN_SEARCH_PATH | G_SPAWN_CLOEXEC_PIPES | G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL,
NULL, NULL, NULL, NULL, NULL, NULL);
exit (0);
}