commit 5f4e1ba7c031235f36541d39ad34d09bc24fc85c from: Stefan Sperling date: Fri Mar 21 16:41:07 2025 UTC avoid double-close of gotd_reload_conf_fd commit - a64024d22dee547edfe438e51c7660d868cc0306 commit + 5f4e1ba7c031235f36541d39ad34d09bc24fc85c blob - c05bd12f5dd80648682c91f8d962d4cfc935d0c1 blob + a1a335cee2c4d646b179aead08bfcf06a579fa40 --- gotd/gotd.c +++ gotd/gotd.c @@ -3441,8 +3441,6 @@ main(int argc, char **argv) if (gotd_parse_config(confpath, gotd_reload_conf_fd, GOTD_PROC_GOTD, secrets, &gotd) != 0) return 1; - close(gotd_reload_conf_fd); - gotd_reload_conf_fd = -1; pw = getpwnam(gotd.user_name); if (pw == NULL) {