aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
commit17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 (patch)
treec8862ebf6e9e9314361120127bf3fc59877c3e02 /commands/webui.go
parente1f597639bfc2f796f74afa87e41581087f0b26e (diff)
downloadgit-bug-17e2ec8f5679c1ba7ae2ea45290e9303beb3c227.tar.gz
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/webui.go b/commands/webui.go
index c4db2ae6..802fc5df 100644
--- a/commands/webui.go
+++ b/commands/webui.go
@@ -19,7 +19,7 @@ func runWebUI(cmd *cobra.Command, args []string) error {
var err error
port, err = freeport.GetFreePort()
if err != nil {
- log.Fatal(err)
+ return err
}
}