summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4303af02f..6193f43d3 100644
--- a/main.go
+++ b/main.go
@@ -48,6 +48,12 @@ func main() {
app.Log.Error(err.Error())
panic(err)
}
- app.GitCommand.SetupGit()
+
+ if err := app.GitCommand.SetupGit(); err != nil {
+ app.Log.Error(err.Error())
+ fmt.Println(err)
+ os.Exit(1)
+ }
+
app.Gui.RunWithSubprocesses()
}