From 27bc561283666c7c40209cb7c344e85a2e2ac3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20de=20B=C3=BArca?= Date: Sat, 26 Jan 2019 21:04:34 -0700 Subject: [PATCH] Die as intended on bin2pat error --- src/bin2pat/bin2pat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin2pat/bin2pat.cpp b/src/bin2pat/bin2pat.cpp index 41b38f1ce..886acab48 100644 --- a/src/bin2pat/bin2pat.cpp +++ b/src/bin2pat/bin2pat.cpp @@ -41,7 +41,7 @@ int printErrorAndDie( { std::cerr << "Error: " << message << ".\n"; printUsage(std::cerr); - return 1; + exit(1); } int needValue(