chiark / gitweb /
event: implement quit handlers
[elogind.git] / src / core / main.c
index 0629d142ff556b519214c8e7d683210cdb5343a6..fe291f8410e0822c6580b1251e61884a8731a19b 100644 (file)
@@ -1567,6 +1567,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);