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:
Leo Antunes
2017-10-07 20:07:33 +02:00
committed by Atomic Bot
parent 140fee3adf
commit a623d864f4

View File

@@ -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);
}
}