mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-07 19:28:44 +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)
|
initPk := pk.(*packet.InitPacketType)
|
||||||
if initPk.NotFound {
|
if initPk.NotFound {
|
||||||
cproc.Close()
|
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) {
|
if semver.MajorMinor(initPk.Version) != semver.MajorMinor(base.MShellVersion) {
|
||||||
cproc.Close()
|
cproc.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user