Browse Source

* restart/rehash were broken in main loop still

svn: 2122
Bryan Drewery 21 years ago
parent
commit
0c5b1d9ee1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -961,11 +961,11 @@ printf("out: %s\n", out);
       socket_cleanup = 0;	/* If we've been idle, cleanup & flush */
       socket_cleanup = 0;	/* If we've been idle, cleanup & flush */
     }
     }
     if (do_restart) {
     if (do_restart) {
-      do_restart = 0;
       if (do_restart == 1)
       if (do_restart == 1)
         restart(-1);
         restart(-1);
       else
       else
         reload_bin_data();
         reload_bin_data();
+      do_restart = 0;
     }
     }
   }
   }