diff --git a/commands.go b/commands.go index 4e57540c..5b14e8a9 100644 --- a/commands.go +++ b/commands.go @@ -267,6 +267,7 @@ func doLook(c *cli.Context) { switch len(reposFound) { case 0: utils.Log("error", "No repository found") + os.Exit(1) case 1: if runtime.GOOS == "windows" {