lib/rbbt/util/cmd.rb in rbbt-util-5.11.7 vs lib/rbbt/util/cmd.rb in rbbt-util-5.11.8
- old
+ new
@@ -68,14 +68,14 @@
original_close unless self.closed?
end
def read(*args)
- data = original_read(*args) unless self.closed? or self.eof?
+ data = original_read(*args) unless self.closed? #or self.eof?
self.close if not self.closed? and self.eof?
- data || ""
+ data #|| ""
end
end
def self.process_cmd_options(options = {})