      close(fd);
  
    }
-@@ -586,7 +592,7 @@
+@@ -586,7 +593,7 @@
    if (state) {
  
      fd = open(fn, O_WRONLY | O_CREAT | O_EXCL, 0600);

     /* Skip anything that doesn't have a queue/ subdirectory. */
 
     qd_path = alloc_printf("%s/%s/queue", sync_dir, sd_ent->d_name);
@@ -6517,8 +6541,13 @@
 
 #ifndef __APPLE__
 

   load_auto();
 
   pivot_inputs();
@@ -7487,6 +7586,7 @@
 
   start_time = get_cur_time();
 
