lib/onering/cli/devices.rb in onering-client-0.0.59 vs lib/onering/cli/devices.rb in onering-client-0.0.60

- old
+ new

@@ -70,10 +70,10 @@ # ----------------------------------------------------------------------------- when :save rv = @api.save(args[0] || @opts[:id]) do # read from pipe if not STDIN.tty? - STDIN.read + STDIN.read() # read from specified file elsif (File.readable?(args[1]) rescue false) File.read(args[1]) \ No newline at end of file