diff --git a/pkg/modgearman/readAndExecute.go b/pkg/modgearman/readAndExecute.go index f42a67e..d3be33b 100644 --- a/pkg/modgearman/readAndExecute.go +++ b/pkg/modgearman/readAndExecute.go @@ -292,7 +292,7 @@ func execEPN(result *answer, cmd *command, received *request) { func fixReturnCodes(result *answer, config *config, state *os.ProcessState) { if result.returnCode >= 0 && result.returnCode <= 3 { if config.workerNameInResult { - result.output = fmt.Sprintf("%s (worker: %s)", result.output, config.identifier) + result.output = fmt.Sprintf("(%s) %s", config.identifier, result.output) } return