Skip to content

Commit

Permalink
Improve error message when file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
unman committed Apr 16, 2017
1 parent 40fe0d9 commit 1db0dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qrexec-lib/pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void wait_for_result(void)
if (hdr.error_code != 0) {
switch (hdr.error_code) {
case EEXIST:
call_error_handler("File copy: not overwriting existing file. Clean QubesIncoming dir, and retry copy%s%s", last_filename_prefix, last_filename);
call_error_handler("A file named %s already exists in QubesIncoming dir", last_filename);
break;
case EINVAL:
call_error_handler("File copy: Corrupted data from packer%s%s", last_filename_prefix, last_filename);
Expand Down

0 comments on commit 1db0dae

Please sign in to comment.