Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1 from bcully/master

propagate go tool failure
  • Loading branch information...
commit 27a1b82e2fce60c74a29172793084926266a6705 2 parents 30826f9 + 4f49d91
Doug MacEachern authored March 04, 2013

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  main.go
6  main.go
@@ -49,7 +49,11 @@ func main() {
49 49
 	}
50 50
 
51 51
 	cmd := exec.Command("go", args...)
52  
-	out, _ := cmd.CombinedOutput()
  52
+	out, err := cmd.CombinedOutput()
53 53
 
54 54
 	fmt.Print(string(out))
  55
+
  56
+	if err != nil {
  57
+		os.Exit(1)
  58
+	}
55 59
 }

0 notes on commit 27a1b82

Please sign in to comment.
Something went wrong with that request. Please try again.