summaryrefslogtreecommitdiff
path: root/internal/ctlsock
diff options
context:
space:
mode:
authorFelix Lechner2018-02-04 11:38:22 -0800
committerrfjakob2018-02-04 20:38:22 +0100
commitbf2f9640c4b883ecb5c20a75664c8f1f3b09eb31 (patch)
tree197dc5adadd76665084cbe8a800e0f868be94c2e /internal/ctlsock
parent5b986288cf0139a612710de728e82192d1f63fa2 (diff)
Fix spelling (#205)
Diffstat (limited to 'internal/ctlsock')
-rw-r--r--internal/ctlsock/ctlsock_serve.go2
1 files changed, 1 insertions, 1 deletions
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
}