Skip to content

Commit

Permalink
Return no error when the command is interrupted (#1362)
Browse files Browse the repository at this point in the history
Signed-off-by: javi <javi.fuenla.caro@gmail.com>

Co-authored-by: javi <javi.fuenla.caro@gmail.com>
  • Loading branch information
jLopezbarb and J4bi committed Apr 4, 2021
1 parent 3140d3f commit da3c8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ssh/exec.go
Expand Up @@ -171,7 +171,7 @@ func Exec(ctx context.Context, iface string, remotePort int, tty bool, inR io.Re
if err == nil {
return nil
}
if strings.Contains(err.Error(), "status 130") {
if strings.Contains(err.Error(), "status 130") || strings.Contains(err.Error(), "4294967295") {
return nil
}
if strings.Contains(err.Error(), "exit code 137") || strings.Contains(err.Error(), "exit status 137") {
Expand Down

0 comments on commit da3c8bd

Please sign in to comment.