diff --git a/src/input.cpp b/src/input.cpp index 27f8db7012..4a0f880505 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -227,7 +227,7 @@ void Input::file() // execute the command - if (execute_command()) + if (execute_command() && line) error->all(FLERR,fmt::format("Unknown command: {}",line)); } }