Skip to content

Commit e2ed84b

Browse files
committed
Made empty "make seds" file an error instead of warning.
1 parent 00e95f6 commit e2ed84b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/fast++-read_input.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,9 @@ bool read_params(options_t& opts, input_state_t& state, const std::string& filen
406406
}
407407

408408
if (!opts.make_seds.empty() && !file::exists(opts.make_seds)) {
409-
warning("file '", opts.make_seds, "' is empty (MAKE_SEDS=...), ignoring");
410-
opts.make_seds = "";
409+
error("file '", opts.make_seds, "' is empty (MAKE_SEDS=...)");
410+
error("if you do not want to generate these SEDs, remove the MAKE_SEDS=... option");
411+
return false;
411412
}
412413

413414
// Use the default 'share' directory if nothing is provided

0 commit comments

Comments
 (0)