Signed-off-by: Florian Bäuerle <florian.baeuerle@xxxxxxxxxxxx> --- common/environment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/environment.c b/common/environment.c index 19df74290..aba6dcde4 100644 --- a/common/environment.c +++ b/common/environment.c @@ -277,9 +277,9 @@ int envfs_save(const char *filename, const char *dirname, unsigned flags) size = 0; /* force no content */ } else { /* first pass: calculate size */ - recursive_action(dirname, ACTION_SORT, file_action, + recursive_action(dirname, ACTION_RECURSE | ACTION_SORT, file_action, NULL, &data, 0); - recursive_action("/.defaultenv", ACTION_SORT, + recursive_action("/.defaultenv", ACTION_RECURSE | ACTION_SORT, file_remove_action, NULL, &data, 0); size = 0; -- 2.19.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox