lib/rdiff_simple.rb in rdiff-simple-0.0.5 vs lib/rdiff_simple.rb in rdiff-simple-0.0.6
- old
+ new
@@ -2,13 +2,13 @@
module RdiffSimple
class NotInstalledError < Exception; end
- def self.execute(*args)
+ def self.execute(args)
raise NotInstalledError, 'rdiff-backup not installed' unless installed?
- system('nice rdiff-backup', *args)
+ system("rdiff-backup #{args}")
end
def self.installed?
system('which rdiff-backup')
end