Browse Source

Correctly handle existing instance running

master
Con Kolivas 9 years ago
parent
commit
879294fe1a
  1. 2
      src/ckpool.c

2
src/ckpool.c

@ -2126,6 +2126,8 @@ int main(int argc, char **argv)
} }
} }
if (!ckp.handover)
manage_old_child(&ckp, &ckp.main);
write_namepid(&ckp.main); write_namepid(&ckp.main);
open_process_sock(&ckp, &ckp.main, &ckp.main.us); open_process_sock(&ckp, &ckp.main, &ckp.main.us);
launch_logger(&ckp.main); launch_logger(&ckp.main);

Loading…
Cancel
Save