diff --git a/internal/nomad/nomad.go b/internal/nomad/nomad.go index 79f92ad..fe95b6b 100644 --- a/internal/nomad/nomad.go +++ b/internal/nomad/nomad.go @@ -696,6 +696,7 @@ func prepareCommandTTY(command string, currentNanoTime int64, privilegedExecutio // Take the command to be executed and wrap it to redirect stderr. stderrFifoPath := stderrFifo(currentNanoTime) command = fmt.Sprintf(stderrWrapperCommandFormat, stderrFifoPath, command, stderrFifoPath) + command = injectStartDebugMessage(command, 0, 1) command = setUserCommand(command, privilegedExecution) command = unsetEnvironmentVariables(command)