1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 18:23:11 +00:00

Cert command stub should return a non-zero exit code

This commit is contained in:
Will Glynn 2014-11-29 21:52:59 -06:00
parent a43164877c
commit 3e528f34af

View file

@ -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)
}