lib/drive_info.rb in sensible-cinema-0.23.3 vs lib/drive_info.rb in sensible-cinema-0.23.4

- old
+ new

@@ -27,10 +27,10 @@ command = "#{__DIR__}/../vendor/mac_dvdid/bin/dvdid #{dir}" else command = "#{__DIR__}/../vendor/dvdid.exe #{dir}" end output = `#{command}` - puts 'dvdid command failed?' + command unless $?.exitstatus == 0 # hope this accomodates for it barfing... + raise 'dvdid command failed?' + command unless $?.exitstatus == 0 output.strip end def self.get_dvd_drives_as_openstruct disks = get_all_drives_as_ostructs