From b0b88d26c9df6d336167f87ce926bba9b56f6af0 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 25 Mar 2021 14:23:58 +0100 Subject: libfstree: Allow / as argument for "glob" and "dir" commands This allows putting globbed files & directories into the filesystem root, as well as explicitly setting attributes of the root directory from the file lisiting. Signed-off-by: David Oberhollenzer --- lib/fstree/fstree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/fstree/fstree.c') diff --git a/lib/fstree/fstree.c b/lib/fstree/fstree.c index b2e199d..7c00755 100644 --- a/lib/fstree/fstree.c +++ b/lib/fstree/fstree.c @@ -120,6 +120,7 @@ int fstree_init(fstree_t *fs, char *defaults) return -1; } + fs->root->data.dir.created_implicitly = true; return 0; } -- cgit v1.2.3