aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r--scd/scdaemon.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 38e3c40c4..74fed4454 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -640,7 +640,12 @@ main (int argc, char **argv )
set_debug (debug_level);
- initialize_module_command ();
+ if (initialize_module_command ())
+ {
+ log_error ("initialization failed\n");
+ cleanup ();
+ exit (1);
+ }
if (gpgconf_list == 2)
scd_exit (0);