Browse Source

Send one on all process failure codes

master
Con Kolivas 11 years ago
parent
commit
c9f550207f
  1. 2
      src/connector.c
  2. 2
      src/generator.c
  3. 2
      src/stratifier.c

2
src/connector.c

@ -598,5 +598,5 @@ out:
send_proc(&ckp->main, "shutdown"); send_proc(&ckp->main, "shutdown");
sleep(1); sleep(1);
} }
exit(ret); exit(ret? 1: 0);
} }

2
src/generator.c

@ -1237,5 +1237,5 @@ int generator(proc_instance_t *pi)
send_proc(&ckp->main, "shutdown"); send_proc(&ckp->main, "shutdown");
sleep(1); sleep(1);
} }
exit(ret); exit(ret? 1: 0);
} }

2
src/stratifier.c

@ -1951,5 +1951,5 @@ int stratifier(proc_instance_t *pi)
sleep(1); sleep(1);
} }
exit(ret); exit(ret? 1: 0);
} }

Loading…
Cancel
Save