aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c
index cfb724696..c38a9a32e 100644
--- a/src/firejail/fs.c
+++ b/src/firejail/fs.c
@@ -361,7 +361,7 @@ static void globbing(OPERATION op, const char *pattern, const char *noblacklist[
361 glob_t globbuf; 361 glob_t globbuf;
362 // Profiles contain blacklists for files that might not exist on a user's machine. 362 // Profiles contain blacklists for files that might not exist on a user's machine.
363 // GLOB_NOCHECK makes that okay. 363 // GLOB_NOCHECK makes that okay.
364 int globerr = glob(pattern, GLOB_NOCHECK | GLOB_NOSORT, NULL, &globbuf); 364 int globerr = glob(pattern, GLOB_NOCHECK | GLOB_NOSORT | GLOB_PERIOD, NULL, &globbuf);
365 if (globerr) { 365 if (globerr) {
366 fprintf(stderr, "Error: failed to glob pattern %s\n", pattern); 366 fprintf(stderr, "Error: failed to glob pattern %s\n", pattern);
367 exit(1); 367 exit(1);