main.c, don't repeatedly execute initialization, when there is a failure

This commit is contained in:
rlar 2011-07-02 20:13:18 +00:00
parent f86d17ea5a
commit 1441ed8921
1 changed files with 1 additions and 2 deletions

View File

@ -1057,8 +1057,7 @@ main(int argc, char **argv)
/* To catch interrupts during .spiceinit... */ /* To catch interrupts during .spiceinit... */
if (SETJMP(jbuf, 1)) { if (SETJMP(jbuf, 1)) {
fprintf(cp_err, "Warning: error executing .spiceinit.\n"); fprintf(cp_err, "Warning: error executing .spiceinit.\n");
if (!ft_batchmode) goto bot;
goto bot;
} }
/* Set up signal handling */ /* Set up signal handling */