From 22e8c358c69a924cf0fdc12a762a09909f1a9b59 Mon Sep 17 00:00:00 2001 From: Martin Puppe Date: Mon, 14 Sep 2020 20:54:42 +0200 Subject: [PATCH] Don't print repository path The full path may contain a password. --- mpbackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpbackup b/mpbackup index efded99..9ac879d 100644 --- a/mpbackup +++ b/mpbackup @@ -55,7 +55,7 @@ def check puts("Command: #{check_command.join(' ')}") system(*check_command) if $?.exitstatus > 0 - error(1, "Checking restic repository #{ENV['RESTIC_REPOSITORY']} failed.") + error(1, "Checking restic repository failed.") end end