magic_mount: dont add created files to list
optimization suggested by simonpink Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
This commit is contained in:
parent
d38fa2b830
commit
245a67a381
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ static int do_magic(const char *base, const char *wbase, Node *node,
|
|||
strerror(errno));
|
||||
return -1;
|
||||
} else
|
||||
send_unmountable(target); // tell ksu about this mount
|
||||
if (!strstr(target, ".magic_mount/workdir/")) { send_unmountable(target); } // tell ksu about this mount
|
||||
|
||||
(void)mount(NULL, target, NULL,
|
||||
MS_REMOUNT | MS_BIND | MS_RDONLY, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue