aboutsummaryrefslogtreecommitdiffstats
path: root/src/fcopy/main.c
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/fcopy/main.c
parentadd dumpable warnings (diff)
downloadfirejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.gz
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.zst
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.zip
cleanup
Diffstat (limited to 'src/fcopy/main.c')
-rw-r--r--src/fcopy/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index bda7e2f1b..67237b4ea 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -413,7 +413,7 @@ int main(int argc, char **argv) {
413 } 413 }
414 414
415#ifdef WARN_DUMPABLE 415#ifdef WARN_DUMPABLE
416 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) 416 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid())
417 fprintf(stderr, "Error fcopy: I am dumpable\n"); 417 fprintf(stderr, "Error fcopy: I am dumpable\n");
418#endif 418#endif
419 419