Skip to content

Commit

Permalink
shutdown option hidepid fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smitsohu committed Aug 13, 2020
1 parent d5b92cc commit 7c37406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/firejail/shutdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ void shut(pid_t pid) {
sleep(1);
monsec--;

EUID_ROOT();
FILE *fp = fopen(monfile, "r");
EUID_USER();
if (!fp) {
killdone = 1;
break;
Expand Down

0 comments on commit 7c37406

Please sign in to comment.