aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-04-06 15:32:08 +0000
committerWerner Koch <[email protected]>2018-04-06 15:32:25 +0000
commit0336e5d1a7b9d46e06c838e6a98aecfcc9542882 (patch)
treefa8cb0d1ab91dbd0b1ee6d280e3f98c2fc3b44ef /g10/keyedit.c
parentdoc: Add a code comment about back signatures. (diff)
downloadgnupg-0336e5d1a7b9d46e06c838e6a98aecfcc9542882.tar.gz
gnupg-0336e5d1a7b9d46e06c838e6a98aecfcc9542882.zip
gpg: Emit FAILURE stati now in almost all cases.
* g10/cpr.c (write_status_failure): Make it print only once. * g10/gpg.c (wrong_args): Bump error counter. (g10_exit): Print a FAILURE status if we ever did a log_error etc. (main): Use log_error instead of log_fatal at one place. Print a FAILURE status for a bad option. Ditto for certain exit points so that we can see different error locations. -- This makes it easier to detect errors by tools which have no way to get the exit code (e.g. due to double forking). GnuPG-bug-id: 3872 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/keyedit.c')
0 files changed, 0 insertions, 0 deletions