Skip to content

Commit 6958874

Browse files
authored
Apply suggestions from code review
1 parent f028af0 commit 6958874

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/serv.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ var (
7373
)
7474

7575
func fail(userMessage, logMessage string, args ...interface{}) error {
76+
// There appears to be a chance to cause a zombie process and failure to read the Exit status
77+
// if nothing is outputted on stdout.
7678
fmt.Fprintln(os.Stdout, "")
7779
fmt.Fprintln(os.Stderr, "Gitea:", userMessage)
7880

0 commit comments

Comments
 (0)