diff options
| author | Jakob Unterwurzacher | 2018-04-08 20:24:29 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2018-04-08 20:26:25 +0200 | 
| commit | bcc8378a2c07476a43c1fe316b79590177ded3d3 (patch) | |
| tree | 62ec5920109b92e3421884b9f3677ea95a83b56b /tests | |
| parent | cab0cda449c831d1d5bb9b75452428c186079799 (diff) | |
Fix the easy golint warnings
Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_helpers/helpers.go | 4 | 
1 files changed, 2 insertions, 2 deletions
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  | 
