diff options
author | Vladimir Palevich | 2023-09-02 15:36:39 +0300 |
---|---|---|
committer | rfjakob | 2023-09-05 17:03:21 +0200 |
commit | 8b1c4b0e07d72a2050f6bae29cf4b58ea1ec21c7 (patch) | |
tree | a625c6c757320fe1450c6cd7feda976ef94a5ad8 /gocryptfs-xray/paths_ctlsock.go | |
parent | 0f11c7780d6b3f6b23686955846b27ef5966da03 (diff) |
Print errors to stderr
Diffstat (limited to 'gocryptfs-xray/paths_ctlsock.go')
-rw-r--r-- | gocryptfs-xray/paths_ctlsock.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gocryptfs-xray/paths_ctlsock.go b/gocryptfs-xray/paths_ctlsock.go index e0b526b..5a19d32 100644 --- a/gocryptfs-xray/paths_ctlsock.go +++ b/gocryptfs-xray/paths_ctlsock.go @@ -22,7 +22,7 @@ func transformPaths(socketPath string, req *ctlsock.RequestStruct, in *string, s errorCount := 0 c, err := ctlsock.New(socketPath) if err != nil { - fmt.Printf("fatal: %v\n", err) + fmt.Fprintf(os.Stderr, "fatal: %v\n", err) os.Exit(1) } line := 1 |