Don't exit() from cleanup() if we got there via a non-signal since
we're only going to exit (after printing a more detailed error message) afterwards anyway. PR: 7020
This commit is contained in:
parent
4e25ac7f8b
commit
02fba0b1e7
@ -1,6 +1,6 @@
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id: perform.c,v 1.40 1997/11/14 01:56:04 jkh Exp $";
|
||||
"$Id: perform.c,v 1.41 1998/02/16 17:16:28 jkh Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -296,5 +296,6 @@ cleanup(int sig)
|
||||
in_cleanup = 1;
|
||||
leave_playpen();
|
||||
}
|
||||
exit(1);
|
||||
if (sig)
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user