diff options
Diffstat (limited to 'src/dmon.c')
-rw-r--r-- | src/dmon.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -154,8 +154,6 @@ daemonize (int status) void dmon_start (int parent_exit_status) { - struct conf conf; - if (!daemonize (parent_exit_status)) DMON_ABRT (_("Cannot daemonize, aborting\n")); @@ -165,7 +163,7 @@ dmon_start (int parent_exit_status) if (!io_file_exist (path_conf)) DMON_ABRT (_("Could not access \"%s\": %s\n"), path_conf, strerror (errno)); - custom_load_conf (&conf); + custom_load_conf (); if (!io_file_exist (path_apts)) DMON_ABRT (_("Could not access \"%s\": %s\n"), |