summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2153692..41151b0 100644
--- a/main.go
+++ b/main.go
@@ -178,7 +178,9 @@ func main() {
}
if argv.Patch.List != nil {
- listPatches()
+ if err := listPatches(); err != nil {
+ badExit(err)
+ }
okExit("patch list")
}
}