lib/backup/utilities.rb in backup-remote-0.0.13 vs lib/backup/utilities.rb in backup-remote-0.0.14
- old
+ new
@@ -235,12 +235,10 @@
res = req.run_ssh_cmd(server_host, server_ssh_user, server_ssh_password, cmd)
output = res[:output].chomp
raise Error, <<-EOS if res[:res]==0 || output.empty?
Could not locate '#{ name }'.
- Make sure the specified utility is installed
- and available in your system's $PATH, or specify it's location
- in your 'config.rb' file using Backup::Utilities.configure
+ Reason: #{output}, #{res[:error]}.
EOS
UTILITY[name] ||= output