lib/rbbt/util/cmd.rb in rbbt-util-5.11.4 vs lib/rbbt/util/cmd.rb in rbbt-util-5.11.5

- old
+ new

@@ -70,10 +70,10 @@ end def read(*args) data = original_read(*args) unless self.closed? or self.eof? - self.close if self.eof? and not self.closed? + self.close if not self.closed? and self.eof? data || "" end end