From 20b1b1dd97ddbd69243e15d06af7c072b0d49717 Mon Sep 17 00:00:00 2001 From: Fujimura Daisuke Date: Thu, 4 Sep 2014 18:56:42 +0900 Subject: [PATCH] Set exit code of `look` which failed --- commands.go | 1 + 1 file changed, 1 insertion(+) 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" {