Do not bail out if 'load file' command has unavailable file,

just post error message and continue
A fix to https://sourceforge.net/p/ngspice/discussion/127605/thread/986c04f22b/
by Clyde
This commit is contained in:
Holger Vogt 2019-08-09 22:18:36 +02:00
parent 0fbff063b8
commit 63b4cf05de
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ raw_read(char *name) {
if ((fp = fopen(name, "rb")) == NULL) {
perror(name);
controlled_exit(EXIT_FAILURE);
return NULL;
}
/* Since we call cp_evloop() from here, we have to do this junk. */