aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-11-06 13:44:50 +0000
committerWerner Koch <[email protected]>2019-11-06 13:44:50 +0000
commit584b65ad7e937710a4fc6db42d6849bb3449d6ef (patch)
tree7c1dcdda02c3e337874ba0792c6ccffa91c91072
parentdoc: Document the --unwrap command. (diff)
downloadgnupg-584b65ad7e937710a4fc6db42d6849bb3449d6ef.tar.gz
gnupg-584b65ad7e937710a4fc6db42d6849bb3449d6ef.zip
gpg: Do not require --batch when using --log-file.
* g10/gpg.c (main): Remove a long standing FIXME. Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--g10/gpg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index b9b6de4e6..cbdf68d77 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3758,11 +3758,7 @@ main (int argc, char **argv)
assuan_set_system_hooks (ASSUAN_SYSTEM_NPTH);
gpgrt_set_syscall_clamp (npth_unprotect, npth_protect);
- /* FIXME: We should use logging to a file only in server mode;
- however we have not yet implemetyed that. Thus we try to get
- away with --batch as indication for logging to file
- required. */
- if (logfile && opt.batch)
+ if (logfile)
{
log_set_file (logfile);
log_set_prefix (NULL, (GPGRT_LOG_WITH_PREFIX