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 063fa2d..aa3fe33 100644
--- a/main.go
+++ b/main.go
@@ -106,7 +106,9 @@ func main() {
if _, count, _, err := me.forge.IsEverythingOnMaster(); err != nil {
log.Info("not everything is on the master branch (", count, "repos)")
- os.Exit(-1)
+ if !argv.Force {
+ os.Exit(-1)
+ }
}
if me.startRepo == nil {