break on compress failure
This commit is contained in:
parent
8c86b4cc62
commit
a9a6537912
@ -44,10 +44,13 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (std::fclose(outfile))
|
if (std::fclose(outfile))
|
||||||
{
|
{
|
||||||
std::cout << " FAILED!" << std::endl
|
|
||||||
<< std::flush;
|
|
||||||
fprintf(stderr, "Write error: %s\n", std::strerror(errno));
|
fprintf(stderr, "Write error: %s\n", std::strerror(errno));
|
||||||
success = false;
|
success = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!success) {
|
||||||
|
std::cout << " FAILED!" << std::endl
|
||||||
|
<< std::flush;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user