diff --git a/ssh.go b/ssh.go index 56a192b..483f505 100644 --- a/ssh.go +++ b/ssh.go @@ -161,7 +161,7 @@ func (s *Ssh) ExecPipe(cmd string) error { } if err = s.session.Start(cmd); err != nil { - log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Start", "error": err}).Errorf("") + log.WithFields(log.Fields{"name": s.name, "cmd": cmd, "call": "session.Start", "attr": cmd, "error": err}).Errorf("") s.session.Close() return err } diff --git a/version.go b/version.go index 08a959d..eb2a819 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "d217ba3" +var githash = "ad1a8de" var branch = "master" -var buildstamp = "2024-11-17_17:15:40" -var commits = "98" -var version = "d217ba3-b98 - 2024-11-17_17:15:40" +var buildstamp = "2024-11-17_17:16:23" +var commits = "99" +var version = "ad1a8de-b99 - 2024-11-17_17:16:23"