summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}