diff --git a/main.go b/main.go index 4624b95..4a8bfea 100644 --- a/main.go +++ b/main.go @@ -208,7 +208,9 @@ func main() { Password: *password, } - CreateRemote(repo, *remote) + if _, err := CreateRemote(repo, *remote); err != nil { + log.Fatalf("%s", err) + } if *push == true { if err := Push(auth, repo); err != nil {