diff --git a/pkg/shexec/client.go b/pkg/shexec/client.go index 7037c240..9b3b1947 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()