aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 397f4cc87..35ffaf339 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3784,6 +3784,8 @@ main (int argc, char **argv)
comopt.keyboxd_program = NULL;
}
+ if (comopt.no_autostart)
+ opt.autostart = 0;
/* The command --gpgconf-list is pretty simple and may be called
directly after the option parsing. */