diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-28 08:13:03 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-28 08:13:03 +0100 |
commit | 4c989b46170fbd4b7e0ce86b2e4a55321a70db79 (patch) | |
tree | 14f1d890c71c22131c9ac9a34372d5a295f13698 /transport | |
parent | 2d57f46a83ba7adbbfc36a170effc6df9f6919d1 (diff) |
Fixed bug where it errors and goes into a loop when it fails to log in
Diffstat (limited to 'transport')
-rw-r--r-- | transport/dev-tcp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport/dev-tcp.sh b/transport/dev-tcp.sh index 49afae7..1118971 100644 --- a/transport/dev-tcp.sh +++ b/transport/dev-tcp.sh @@ -105,7 +105,7 @@ transport_read_line() { the_return_code="${?}" (( the_return_code == 0 )) && break (( the_return_code > 128 )) && continue - (( the_return_code -ne 0 )) && return + [[ "${the_return_code}" -ne 0 ]] && return fi done |