From 9a84e4df6075b286d67b1f0d8079aed4d0b77760 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 30 May 2021 11:42:21 -0400 Subject: fix fcoy error message (#2743) --- src/fcopy/main.c | 2 +- src/firejail/sbox.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fcopy/main.c b/src/fcopy/main.c index 572e9f601..869549821 100644 --- a/src/fcopy/main.c +++ b/src/fcopy/main.c @@ -340,7 +340,7 @@ static char *check(const char *src) { errexit: free(rsrc); - fprintf(stderr, "Error fcopy: invalid file %s\n", src); + fprintf(stderr, "Error fcopy: invalid ownership for file %s\n", src); exit(1); } diff --git a/src/firejail/sbox.c b/src/firejail/sbox.c index 4a8dd1bf7..d2c0bcc19 100644 --- a/src/firejail/sbox.c +++ b/src/firejail/sbox.c @@ -293,7 +293,7 @@ int sbox_run_v(unsigned filtermask, char * const arg[]) { errExit("waitpid"); } if (WIFEXITED(status) && WEXITSTATUS(status) != 0) { - fprintf(stderr, "Error: failed to run %s\n", arg[0]); + fprintf(stderr, "Error: failed to run %s, exiting...\n", arg[0]); exit(1); } -- cgit v1.2.3-70-g09d2