mirror of https://github.com/YosysHQ/abc.git
Preventing scripts from aborting if reading has failed.
This commit is contained in:
parent
55e9c4d0fa
commit
0b73c76380
|
|
@ -198,7 +198,7 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
|
|||
// read the file using the corresponding file reader
|
||||
pNtk = Io_Read( pFileName, Io_ReadFileType(pFileName), fCheck );
|
||||
if ( pNtk == NULL )
|
||||
return 1;
|
||||
return 0;
|
||||
// replace the current network
|
||||
Abc_FrameReplaceCurrentNetwork( pAbc, pNtk );
|
||||
Abc_FrameCopyLTLDataBase( pAbc, pNtk );
|
||||
|
|
|
|||
Loading…
Reference in New Issue