diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -14,7 +14,6 @@ #include "rest.h" #include "client.h" #include "json.h" -#include "schedule.h" #include "core.h" #include "cfg.h" #include <syslog.h> @@ -97,13 +96,6 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - if (og_dbi_schedule_get() < 0) { - syslog(LOG_ERR, "Cannot connect to database\n"); - exit(EXIT_FAILURE); - } - - og_schedule_next(og_loop); - syslog(LOG_INFO, "Waiting for connections\n"); while (1) |