fiasco: In simulate mode do not close invalid not open fd

This commit is contained in:
Pali Rohár committed 2016-01-10 13:27:17 +01:00
1 parent ccef3c6daa
commit 79af7395bf
1 file changed
+2
+2
View File
@@ -443,7 +443,9 @@ int fiasco_write_to_file(struct fiasco * fiasco, const char * file) {
} }
if ( ! simulate )
close(fd); close(fd);
printf("\nDone\n\n"); printf("\nDone\n\n");
return 0; return 0;