aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-07 08:30:18 +0200
committergrunfink <grunfink@comam.es>2025-09-07 08:30:18 +0200
commit7796bf39f0f1fe5bea4cde5a426bee872602ca84 (patch)
treefa3377bb3b5fd6e789c711d46b657c2ebe68753b /httpd.c
parentef701e8bb4c404343bf25cc713e660c423516345 (diff)
Always do a deferred fsck at startup.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 9707f9c..50f56f2 100644
--- a/httpd.c
+++ b/httpd.c
@@ -805,6 +805,8 @@ static void *background_thread(void *arg)
srv_log(xs_fmt("background thread started"));
+ enqueue_fsck();
+
while (p_state->srv_running) {
int cnt = 0;