Skip to content

Commit

Permalink
fix fcoy error message (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
netblue30 committed May 30, 2021
1 parent 65b7cd7 commit 9a84e4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fcopy/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/firejail/sbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9a84e4d

Please sign in to comment.