aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/seccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/seccomp.c')
-rw-r--r--src/firejail/seccomp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/firejail/seccomp.c b/src/firejail/seccomp.c
index f9a9df211..a5a77abab 100644
--- a/src/firejail/seccomp.c
+++ b/src/firejail/seccomp.c
@@ -820,10 +820,6 @@ void seccomp_print_filter(pid_t pid) {
820 // if the pid is that of a firejail process, use the pid of the first child process 820 // if the pid is that of a firejail process, use the pid of the first child process
821 char *comm = pid_proc_comm(pid); 821 char *comm = pid_proc_comm(pid);
822 if (comm) { 822 if (comm) {
823 // remove \n
824 char *ptr = strchr(comm, '\n');
825 if (ptr)
826 *ptr = '\0';
827 if (strcmp(comm, "firejail") == 0) { 823 if (strcmp(comm, "firejail") == 0) {
828 pid_t child; 824 pid_t child;
829 if (find_child(pid, &child) == 0) { 825 if (find_child(pid, &child) == 0) {