Can not get the return value of the ssh.Run() command
like-inspur opened this issue · comments
like-inspur commented
When I use like outStr, err := ssh.Run(),whether execute Run() successfully or not,
the value of err is always 0. How can I get the exact return value of the ssh.Run() command.
Thank you!