diff options
-rw-r--r-- | src/firejail/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 53f840455..c1de53ee5 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -585,7 +585,7 @@ void fs_proc_sys_dev_boot(void) { | |||
585 | struct stat s; | 585 | struct stat s; |
586 | 586 | ||
587 | char *fname; | 587 | char *fname; |
588 | if (asprintf(&fname, "/run/usr/%d", getuid()) == -1) | 588 | if (asprintf(&fname, "/run/user/%d", getuid()) == -1) |
589 | errExit("asprintf"); | 589 | errExit("asprintf"); |
590 | if (is_dir(fname)) { // older distros don't have this directory | 590 | if (is_dir(fname)) { // older distros don't have this directory |
591 | // disable /run/user/{uid}/gnupg | 591 | // disable /run/user/{uid}/gnupg |