summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1a57cf8..fb20f1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,7 @@
#include "log.h"
#include "helper.h"
#include "systemd.h"
+#include "resync.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -431,6 +432,7 @@ int main(int argc, char *argv[])
dlog(LOG_NOTICE, "-- starting in console mode --");
sd_ct_init();
+ resync_at_startup();
/*
* run main process