From 8b8e810b0325bee521913d3c405325f7ff220776 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Tue, 8 Nov 2016 00:07:31 +0100 Subject: [PATCH] Allow restic init to fail to support SFTP --- entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.sh b/entry.sh index d558b5d..061834d 100755 --- a/entry.sh +++ b/entry.sh @@ -9,7 +9,7 @@ fi if [ ! -f "$RESTIC_REPOSITORY/config" ]; then echo "Restic repository does not exists. Running restic init." - restic init + restic init | true fi echo "Setup backup cron job with cron expression: ${BACKUP_CRON}"