Commit 0f248ea5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't recurse into cleanup

parent 52d77816
...@@ -813,7 +813,12 @@ int ...@@ -813,7 +813,12 @@ int
fail_out(void) fail_out(void)
{ {
unsigned old_err; unsigned old_err;
static int once = 0;
if (once++) {
vtc_log(vltop, 1, "failure during reset");
return(vtc_error);
}
old_err = vtc_error; old_err = vtc_error;
if (!vtc_stop) if (!vtc_stop)
vtc_stop = 1; vtc_stop = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment