From 3e528f34af62cd8d62aa5ecaf98e4c043a9ff3df Mon Sep 17 00:00:00 2001 From: Will Glynn Date: Sat, 29 Nov 2014 21:52:59 -0600 Subject: [PATCH] Cert command stub should return a non-zero exit code --- cmd/cert_stub.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cert_stub.go b/cmd/cert_stub.go index 2029f4cbce..69c9821e02 100644 --- a/cmd/cert_stub.go +++ b/cmd/cert_stub.go @@ -8,6 +8,7 @@ package cmd import ( "fmt" + "os" "time" "github.com/codegangsta/cli" @@ -31,4 +32,5 @@ Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`, func runCert(ctx *cli.Context) { fmt.Println("Command cert not available, please use build tags 'cert' to rebuild.") + os.Exit(1) }