From 4513397b078299c0fe9a161c661d0b3a201dddf3 Mon Sep 17 00:00:00 2001 From: gyurix Date: Mon, 21 Jul 2025 14:28:12 +0200 Subject: [PATCH] Add check for existing SSH config file before creation --- start_backup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/start_backup.sh b/start_backup.sh index 4fd084c..8171480 100644 --- a/start_backup.sh +++ b/start_backup.sh @@ -36,8 +36,9 @@ for key_type in rsa ed25519; do fi done - -cat >"$SSH_CONFIG_FILE" <"$SSH_CONFIG_FILE" <