aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-18 20:45:44 +0000
committersaturneric <[email protected]>2025-04-18 20:45:44 +0000
commit4ce13836ceb858ede5f0d31f40ebcd7b45b39fcb (patch)
tree4d4cdd137b0ed6b6ec1cfa28bbf3107c21b612fd /src/init.cpp
parentfix: gpgconf path should firstly be initialized at gpg context (diff)
downloadGpgFrontend-4ce13836ceb858ede5f0d31f40ebcd7b45b39fcb.tar.gz
GpgFrontend-4ce13836ceb858ede5f0d31f40ebcd7b45b39fcb.zip
chore: restart gpg-agent at start and kill gpg agent by close as default behaviors
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 312198a7..f0481152 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -180,7 +180,7 @@ void ShutdownGlobalBasicEnv(const GFCxtWPtr &p_ctx) {
auto kill_all_gnupg_daemon_at_close =
GetSettings()
- .value("gnupg/kill_all_gnupg_daemon_at_close", false)
+ .value("gnupg/kill_all_gnupg_daemon_at_close", true)
.toBool();
if (ctx->unit_test_mode || kill_all_gnupg_daemon_at_close) {