diff options
Diffstat (limited to 'src/firejail/join.c')
-rw-r--r-- | src/firejail/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/join.c b/src/firejail/join.c index 9f52d4565..4ce690737 100644 --- a/src/firejail/join.c +++ b/src/firejail/join.c | |||
@@ -279,7 +279,7 @@ void join(pid_t pid, int argc, char **argv, int index) { | |||
279 | if (child == 0) { | 279 | if (child == 0) { |
280 | // drop discretionary access control capabilities for root sandboxes | 280 | // drop discretionary access control capabilities for root sandboxes |
281 | caps_drop_dac_override(); | 281 | caps_drop_dac_override(); |
282 | 282 | ||
283 | // chroot into /proc/PID/root directory | 283 | // chroot into /proc/PID/root directory |
284 | char *rootdir; | 284 | char *rootdir; |
285 | if (asprintf(&rootdir, "/proc/%d/root", pid) == -1) | 285 | if (asprintf(&rootdir, "/proc/%d/root", pid) == -1) |