Skip to content

Commit

Permalink
Merge pull request #33 from fujimura/set-exit-code-of-look-which-failed
Browse files Browse the repository at this point in the history
Set exit code of `look` which failed
  • Loading branch information
motemen committed Sep 14, 2014
2 parents 87b59ed + 20b1b1d commit 0d8ab07
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 0d8ab07

Please sign in to comment.