diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-08 17:58:51 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-08 17:58:51 -0800 |
commit | 0b73c7638021070962a1918616b89a1cd401b56f (patch) | |
tree | c9857743e448c1f86e35c3b2c0ba31d31fbe1f44 /src | |
parent | 55e9c4d0faebbaae551618e95a77f60b9648a257 (diff) | |
download | abc-0b73c7638021070962a1918616b89a1cd401b56f.tar.gz abc-0b73c7638021070962a1918616b89a1cd401b56f.tar.bz2 abc-0b73c7638021070962a1918616b89a1cd401b56f.zip |
Preventing scripts from aborting if reading has failed.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/io/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c index d205d4cf..1c82d91b 100644 --- a/src/base/io/io.c +++ b/src/base/io/io.c @@ -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 ); |