summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index f6d3f966..f0148b12 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -105,7 +105,9 @@ run(int argc, char** argv)
<< std::endl;
return EXIT_FAILURE;
- } else if (run_path.empty()) {
+ }
+
+ if (run_path.empty()) {
std::cerr << "error: command file '" << run_path << "' does not exist"
<< std::endl;