summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/cert_stub.go2
1 files changed, 2 insertions, 0 deletions
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)
}