Skip to content

Commit 3b4be86

Browse files
committed
improve message
1 parent c6a4593 commit 3b4be86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

agent/agentscripts/agentscripts.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ func (r *Runner) run(ctx context.Context, script codersdk.WorkspaceAgentScript)
262262
message := fmt.Sprintf("script exited successfully, but output pipes were not closed after %s", cmd.WaitDelay)
263263
details := fmt.Sprint(
264264
"This usually means a child process was started with references to stdout or stderr. As a result, this " +
265-
"process may now have been terminated. Consider using a separate \"coder_script\" for the service, " +
266-
"see https://coder.com/docs/v2/latest/templates/troubleshooting#startup-script-issues for more information.",
265+
"process may now have been terminated. Consider redirecting the output or using a separate " +
266+
"\"coder_script\" for the process, see " +
267+
"https://coder.com/docs/v2/latest/templates/troubleshooting#startup-script-issues for more information.",
267268
)
268269
// Inform the user by propagating the message via log writers.
269270
_, _ = fmt.Fprintf(cmd.Stderr, "WARNING: %s. %s\n", message, details)

0 commit comments

Comments
 (0)