From 181010757247a3f47c69e3a5f7b8f3d68f36cd82 Mon Sep 17 00:00:00 2001 From: sawka Date: Sun, 2 Apr 2023 23:11:29 -0700 Subject: [PATCH] fix error message --- pkg/shexec/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/shexec/client.go b/pkg/shexec/client.go index 7037c2407..9b3b1947b 100644 --- a/pkg/shexec/client.go +++ b/pkg/shexec/client.go @@ -75,7 +75,7 @@ func MakeClientProc(ctx context.Context, ecmd *exec.Cmd) (*ClientProc, *packet.I initPk := pk.(*packet.InitPacketType) if initPk.NotFound { cproc.Close() - return nil, initPk, fmt.Errorf("mshell client not found", semver.MajorMinor(base.MShellVersion)) + return nil, initPk, fmt.Errorf("mshell client not found") } if semver.MajorMinor(initPk.Version) != semver.MajorMinor(base.MShellVersion) { cproc.Close()