mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-06 19:18:22 +01:00
fix error message
This commit is contained in:
parent
01a99cba03
commit
1810107572
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user