Skip to content

Commit

Permalink
Set exit code of look which failed
Browse files Browse the repository at this point in the history
  • Loading branch information
fujimura committed Sep 4, 2014
1 parent 87b59ed commit 20b1b1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 20b1b1d

Please sign in to comment.