From d87f06c58c8b2e6c0dbd7cb819aeb011a5bb79f4 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 10 Dec 2023 11:11:30 +0100 Subject: [PATCH] sync_from_old_server.sh: get rid of unused var 'ssh_config_exists'. --- sync_from_old_server.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/sync_from_old_server.sh b/sync_from_old_server.sh index 636823d..e819ff9 100755 --- a/sync_from_old_server.sh +++ b/sync_from_old_server.sh @@ -285,7 +285,6 @@ if [[ -f "/root/.ssh/config" ]] ; then mv "/root/.ssh/config " "/root/.ssh/config.${cur_date}" > /dev/null 2> $tmp_err_msg if [[ $? -eq 0 ]];then echo_ok - ssh_config_exists=true else echo_failed error "$(cat $tmp_err_msg)" @@ -302,7 +301,6 @@ if [[ -f "/root/.ssh/config" ]] ; then fi else echo_skipped - ssh_config_exists=false fi