Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 28, 2023
1 parent 7853fc6 commit 9957f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WDL/runtime/task_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def run(self, logger: logging.Logger, command: str) -> None:
assert not self._running
if command.strip(): # if the command is empty then don't bother with any of this
preamble = self.cfg.get("task_runtime", "command_preamble")
if preamble:
if preamble.strip():
command = preamble + "\n" + command
with TerminationSignalFlag(logger) as terminating:
if terminating():
Expand Down

0 comments on commit 9957f32

Please sign in to comment.