builder: Better debug output from the rofiles-fuse code

We now show the mount point and the source correctly.
tingping/wmclass
Alexander Larsson 2017-05-19 11:34:37 +02:00
parent d52329e926
commit 411107a942
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ builder_context_enable_rofiles (BuilderContext *self,
rofiles_dir = g_object_ref (self->rofiles_allocated_dir);
argv[4] = (char *)flatpak_file_get_path_cached (rofiles_dir);
g_debug ("starting: rofiles-fuse %s %s", argv[1], argv[4]);
g_debug ("starting: rofiles-fuse %s %s", argv[3], argv[4]);
if (!g_spawn_sync (NULL, (char **)argv, NULL, G_SPAWN_SEARCH_PATH | G_SPAWN_CLOEXEC_PIPES, rofiles_child_setup, NULL, NULL, NULL, &exit_status, error))
{
g_prefix_error (error, "Can't spawn rofiles-fuse");