Skip to content
Snippets Groups Projects
Commit 9017cc43 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/t17409' into 'master'

wrap: Don't bind-mount ~/.steam/steambeta etc. if they don't exist

See merge request steam/pressure-vessel!13
parents 5a8d8152 b7ad27a0
Branches
Tags
No related merge requests found
...@@ -1608,7 +1608,8 @@ use_fake_home (FlatpakBwrap *bwrap, ...@@ -1608,7 +1608,8 @@ use_fake_home (FlatpakBwrap *bwrap,
g_hash_table_add (mounted, g_steal_pointer (&target)); g_hash_table_add (mounted, g_steal_pointer (&target));
} }
} }
else if (!g_hash_table_contains (mounted, dir)) else if (g_file_test (dir, G_FILE_TEST_EXISTS) &&
!g_hash_table_contains (mounted, dir))
{ {
flatpak_bwrap_add_args (bwrap, "--ro-bind", dir, dir, NULL); flatpak_bwrap_add_args (bwrap, "--ro-bind", dir, dir, NULL);
g_hash_table_add (mounted, g_steal_pointer (&dir)); g_hash_table_add (mounted, g_steal_pointer (&dir));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment