Don't print repository path

The full path may contain a password.
This commit is contained in:
Martin Puppe 2020-09-14 20:54:42 +02:00
parent e4ddf36695
commit 22e8c358c6

View file

@ -55,7 +55,7 @@ def check
puts("Command: #{check_command.join(' ')}") puts("Command: #{check_command.join(' ')}")
system(*check_command) system(*check_command)
if $?.exitstatus > 0 if $?.exitstatus > 0
error(1, "Checking restic repository #{ENV['RESTIC_REPOSITORY']} failed.") error(1, "Checking restic repository failed.")
end end
end end