From d39ca1e3a6c861c063c014d93c3bbe5927032e68 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 22 Sep 2026 23:49:34 +1000 Subject: [PATCH] Rewrap the isTerminal comment --- cmd/certmanager/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/certmanager/main.go b/cmd/certmanager/main.go index f196a22..999ce2e 100644 --- a/cmd/certmanager/main.go +++ b/cmd/certmanager/main.go @@ -44,9 +44,10 @@ func runWith(args []string, stdout, stderr io.Writer, interactive bool) int { } // isTerminal reports whether w is a terminal. Puppet hands the child a temp -// file as fd 1, never a terminal, so anything else is a machine caller. The check is a -// terminal ioctl, not a character-device stat: /dev/null is a character device, -// and so is the /dev/null the Go runtime reopens onto a closed fd 1 at startup. +// file as fd 1, never a terminal, so anything else is a machine caller. The +// check is a terminal ioctl, not a character-device stat: /dev/null is a +// character device, and so is the /dev/null the Go runtime reopens onto a +// closed fd 1 at startup. func isTerminal(w io.Writer) bool { f, ok := w.(*os.File) if !ok {