diff --git a/src/core/main.c b/src/core/main.c index f64786548..6f9953635 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1639,6 +1639,7 @@ int main(int argc, char *argv[]) { /* This will close all file descriptors that were opened, but * not claimed by any unit. */ fdset_free(fds); + fds = NULL; if (serialization) { fclose(serialization);