aboutsummaryrefslogtreecommitdiffstats
path: root/src/fnet
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-08-17 22:10:07 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2020-08-17 22:10:07 +0200
commit21918f6d92f9261cc45f208ac407819980d4a59c (patch)
treed86d5dd041a8e79523f526411cb37b8d131c2ee1 /src/fnet
parentadd dumpable warnings (diff)
downloadfirejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.gz
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.zst
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.zip
cleanup
Diffstat (limited to 'src/fnet')
-rw-r--r--src/fnet/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fnet/main.c b/src/fnet/main.c
index 22879b8ce..f6316a7fe 100644
--- a/src/fnet/main.c
+++ b/src/fnet/main.c
@@ -70,7 +70,7 @@ printf("\n");
70 return 0; 70 return 0;
71 } 71 }
72#ifdef WARN_DUMPABLE 72#ifdef WARN_DUMPABLE
73 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) 73 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid())
74 fprintf(stderr, "Error fnet: I am dumpable\n"); 74 fprintf(stderr, "Error fnet: I am dumpable\n");
75#endif 75#endif
76 char *quiet = getenv("FIREJAIL_QUIET"); 76 char *quiet = getenv("FIREJAIL_QUIET");