Land #7858, Make shell_command_token time out again
commit
5d08e0b24e
|
@ -43,6 +43,8 @@ module SingleCommandShell
|
|||
# Read data until we find the token
|
||||
#
|
||||
def shell_read_until_token(token, wanted_idx=0, timeout=10)
|
||||
return if timeout.to_i == 0
|
||||
|
||||
if (wanted_idx == 0)
|
||||
parts_needed = 2
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue