Land #7858, Make shell_command_token time out again

bug/bundler_fix
William Webb 2017-01-21 13:18:37 -06:00
commit 5d08e0b24e
No known key found for this signature in database
GPG Key ID: 341763D0308DA650
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