aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-04-21 11:16:49 +0000
committerWerner Koch <[email protected]>2021-04-21 12:40:08 +0000
commitd153e4936e05ab3b15df3c092024d83ac9d6ca46 (patch)
tree4c260d1d4e76527af7c93b3d7a53014f68461b75 /g10/gpg.c
parentpo: Fix typo in German translation. (diff)
downloadgnupg-d153e4936e05ab3b15df3c092024d83ac9d6ca46.tar.gz
gnupg-d153e4936e05ab3b15df3c092024d83ac9d6ca46.zip
gpg,sm: Ignore the log-file option from common.conf.
* g10/gpg.c (main): Don't use the default log file from common.conf. * sm/gpgsm.c (main): Ditto. -- That was acutally not intended and contradicts the description in doc/example/common.conf. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 3332525d8..f5623be76 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3723,12 +3723,6 @@ main (int argc, char **argv)
g10_exit(2);
}
- if (!logfile)
- {
- logfile = comopt.logfile;
- comopt.logfile = NULL;
- }
-
if (opt.use_keyboxd)
log_info ("Note: Please move option \"%s\" to \"common.conf\"\n",
"use-keyboxd");