diff options
author | Will Glynn <will@willglynn.com> | 2014-11-29 21:52:59 -0600 |
---|---|---|
committer | Will Glynn <will@willglynn.com> | 2014-11-29 21:52:59 -0600 |
commit | 3e528f34af62cd8d62aa5ecaf98e4c043a9ff3df (patch) | |
tree | 0c2616bbbf1f677b2509a4f240e80c9b4c8dccac /cmd/cert_stub.go | |
parent | a43164877c68dfe92c848fe0f4dab4a16090ad5e (diff) | |
download | gitea-3e528f34af62cd8d62aa5ecaf98e4c043a9ff3df.tar.gz gitea-3e528f34af62cd8d62aa5ecaf98e4c043a9ff3df.zip |
Cert command stub should return a non-zero exit code
Diffstat (limited to 'cmd/cert_stub.go')
-rw-r--r-- | cmd/cert_stub.go | 2 |
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) } |