From 6eb6625374d6d0f0f81245f549ffac3542f29790 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 Oct 2025 10:06:24 -0500 Subject: was wrong --- argv.Print.go | 2 +- exit.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/argv.Print.go b/argv.Print.go index 9886834..2d7ea80 100644 --- a/argv.Print.go +++ b/argv.Print.go @@ -89,7 +89,7 @@ func PrintStderr() { func PrintStdout() { line := strings.TrimSpace(PB.Stdout) if line == "" { - // return + return } fmt.Fprintf(os.Stdout, " %s\n", line) } diff --git a/exit.go b/exit.go index 72d3271..125b870 100644 --- a/exit.go +++ b/exit.go @@ -53,7 +53,7 @@ func (pb *Argv) badExit(msg string, err error) { } } else { // If it's not a joined error, you can fall back to the single-unwrap loop. - fmt.Printf("Error: (%v)\n", u) + fmt.Printf("Error: (%v)\n", err) } } -- cgit v1.2.3