Skip to content

Commit

Permalink
EOF on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
iRyusa committed Sep 19, 2013
1 parent 2c87dcf commit d96c08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ladle/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def start
end

def watch
while (line = @ds_out.readline) && !error?
while ( !@ds_out.eof? && line = @ds_out.readline ) && !error?
case line
when /^STARTED/
@started = true
Expand Down

0 comments on commit d96c08c

Please sign in to comment.