summaryrefslogtreecommitdiffstats
path: root/libtests/flate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/flate.cc')
-rw-r--r--libtests/flate.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtests/flate.cc b/libtests/flate.cc
index b6059a21..d05e7f92 100644
--- a/libtests/flate.cc
+++ b/libtests/flate.cc
@@ -15,6 +15,7 @@ FILE* safe_fopen(char const* filename, char const* mode)
{
std::cerr << "fopen " << filename << " failed: " << strerror(errno)
<< std::endl;
+ exit(2);
}
return result;
}