summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c
index b9fc3f4..0613cd1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)