From bcc8378a2c07476a43c1fe316b79590177ded3d3 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 8 Apr 2018 20:24:29 +0200 Subject: Fix the easy golint warnings Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs --- tests/test_helpers/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_helpers') diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index a859129..4c704d4 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -422,8 +422,8 @@ func QueryCtlSock(t *testing.T, socketPath string, req ctlsock.RequestStruct) (r return response } -// Extract the exit code from an error value that was returned from -// exec / cmd.Run() +// ExtractCmdExitCode extracts the exit code from an error value that was +// returned from exec / cmd.Run() func ExtractCmdExitCode(err error) int { if err == nil { return 0 -- cgit v1.2.3