spelling: consequences
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
3e6669828c
commit
af0927cf5c
2
keys.go
2
keys.go
|
@ -52,7 +52,7 @@ func initKeyPaths(app *App) {
|
||||||
func generateKey(path string) error {
|
func generateKey(path string) error {
|
||||||
// Check if key file exists
|
// Check if key file exists
|
||||||
if _, err := os.Stat(path); err == nil {
|
if _, err := os.Stat(path); err == nil {
|
||||||
log.Info("%s already exists. rm the file if you understand the consquences.", path)
|
log.Info("%s already exists. rm the file if you understand the consequences.", path)
|
||||||
return nil
|
return nil
|
||||||
} else if !os.IsNotExist(err) {
|
} else if !os.IsNotExist(err) {
|
||||||
log.Error("%s", err)
|
log.Error("%s", err)
|
||||||
|
|
Loading…
Reference in New Issue