Make shell_command_token time out again

bug/bundler_fix
William Vu 2017-01-20 23:09:22 -06:00
parent 201ec17471
commit a7fac41172
1 changed files with 2 additions and 0 deletions

View File

@ -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