eliminate an useless message

This commit is contained in:
le vieux 2020-11-13 01:00:20 +01:00
parent e1e32b1a99
commit d5af79e121
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,10 @@ if (foo) {
if (verbosity) fimg_describe(&fimg, argv[2]); if (verbosity) fimg_describe(&fimg, argv[2]);
foo = fimg_dump_to_file(&fimg, argv[2], 0); foo = fimg_dump_to_file(&fimg, argv[2], 0);
fprintf(stderr, "save as fimg -> %d\n", foo); if (foo) {
fprintf(stderr, "save as '%s' -> err %d\n", argv[2], foo);
exit(1);
}
return 0; return 0;
} }