Unverified Commit bb9ab025 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

avoid exception when having a command fail due to an empty string

parent 0b1443ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
  }
}