summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index ac905b3..48d132c 100644
--- a/main.go
+++ b/main.go
@@ -36,7 +36,14 @@ func main() {
}
if argv.Patch != nil {
- if err := doPatches(); err == nil {
+ if err := doPatches(); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
+ if argv.Repos != nil {
+ if err := doRepos(); err != nil {
badExit(err)
}
okExit("")