aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-scd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/call-scd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index 4d1498b05..8373fd46d 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -137,6 +137,9 @@ start_scd (ctrl_t ctrl)
int no_close_list[3];
int i;
+ if (opt.disable_scdaemon)
+ return gpg_error (GPG_ERR_NOT_SUPPORTED);
+
#ifdef USE_GNU_PTH
if (!pth_mutex_acquire (&scd_lock, 0, NULL))
{