mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-18 22:56:24 -05:00
Partially revert f1df5cb to fix --persist
We should not check if a persistence target exists outside of the chroot, since its existance is irrelevant. Fixes #1088 Closes: #1089 Approved by: alexlarsson
This commit is contained in:
@@ -3083,7 +3083,10 @@ flatpak_run_add_environment_args (GPtrArray *argv_array,
|
||||
|
||||
g_mkdir_with_parents (src, 0755);
|
||||
|
||||
add_bind_arg (argv_array, "--bind", src, dest);
|
||||
/* We stick to add_args instead of add_bind_arg because persisted
|
||||
* folders don't need to exist outside the chroot.
|
||||
*/
|
||||
add_args (argv_array, "--bind", src, dest, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user