]> Nishi Git Mirror - gwion.git/commitdiff
:shirt: Remove bad code
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 15 Oct 2019 01:39:35 +0000 (03:39 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 15 Oct 2019 01:39:35 +0000 (03:39 +0200)
src/lib/shred.c

index 4e7b3148572528aae00c13d2fece96fcb0889726..ba8bd8436ecb3bc1416680032ce9966515c692ba 100644 (file)
@@ -158,7 +158,7 @@ static DTOR(fork_dtor) {
   if(*(m_int*)(o->data + o_fork_done)) {
     vector_rem2(&FORK_ORIG(o)->gwion->data->child, (vtype)o);
     vector_add(&FORK_ORIG(o)->gwion->data->child2, (vtype)ME(o)->info->vm);
-  } else exit(6);
+  }
 }
 
 static MFUN(fork_join) {