Przeglądaj źródła

Cert command stub should return a non-zero exit code

tags/v0.9.99
Will Glynn 9 lat temu
rodzic
commit
3e528f34af
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      cmd/cert_stub.go

+ 2
- 0
cmd/cert_stub.go Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz