summaryrefslogtreecommitdiffstats
path: root/src/base/io/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/io/io.c')
-rw-r--r--src/base/io/io.c2
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 );