aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-11-24 18:32:15 +0100
committerLibravatar GitHub <noreply@github.com>2020-11-24 18:32:15 +0100
commit9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62 (patch)
tree5672b9501bd80e8a491c6d95eacdd0c0b70dd539 /src/firejail/profile.c
parentfix hidepid mount detection (diff)
downloadfirejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.tar.gz
firejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.tar.zst
firejail-9eb9e8d4c1b8995f0e7af4d604f3becd5dc91f62.zip
join-or-start hidepid fix
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 5ddf6fdbb..dc37a2820 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -1497,7 +1497,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
1497 if (checkcfg(CFG_JOIN) || getuid() == 0) { 1497 if (checkcfg(CFG_JOIN) || getuid() == 0) {
1498 // try to join by name only 1498 // try to join by name only
1499 pid_t pid; 1499 pid_t pid;
1500 if (!name2pid(ptr + 14, &pid)) { 1500 if (!read_pid(ptr + 14, &pid)) {
1501 if (!cfg.shell && !arg_shell_none) 1501 if (!cfg.shell && !arg_shell_none)
1502 cfg.shell = guess_shell(); 1502 cfg.shell = guess_shell();
1503 1503