diff --git a/internal/ctlsock/ctlsock_serve.go b/internal/ctlsock/ctlsock_serve.go index 43beeb9..efa72c7 100644 --- a/internal/ctlsock/ctlsock_serve.go +++ b/internal/ctlsock/ctlsock_serve.go @@ -117,7 +117,7 @@ func (ch *ctlSockHandler) handleRequest(in *RequestStruct, conn *net.UnixConn) { var inPath, outPath, clean, warnText string // You cannot perform both decryption and encryption in one request if in.DecryptPath != "" && in.EncryptPath != "" { - err = errors.New("Ambigous") + err = errors.New("Ambiguous") sendResponse(conn, err, "", "") return } diff --git a/main.go b/main.go index f10adfb..483db6f 100644 --- a/main.go +++ b/main.go @@ -141,7 +141,7 @@ func main() { } if args.wpanic { tlog.Warn.Wpanic = true - tlog.Debug.Printf("Panicing on warnings") + tlog.Debug.Printf("Panicking on warnings") } // Every operation below requires CIPHERDIR. Exit if we don't have it. if flagSet.NArg() == 0 {