From d263782a620c32c946c08a83a83bfec022bb752f Mon Sep 17 00:00:00 2001 From: buildplan <170122315+buildplan@users.noreply.github.com> Date: Tue, 14 Oct 2025 10:20:38 +0100 Subject: [PATCH] remove redundant variable --- du_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du_setup.sh b/du_setup.sh index dbf9b7f..63569c0 100644 --- a/du_setup.sh +++ b/du_setup.sh @@ -701,7 +701,7 @@ cleanup_provider_packages() { else if confirm "Review and potentially remove root SSH keys?" "n"; then local backup_file - local backup_file="$BACKUP_DIR/root_authorized_keys.backup.$(date +%Y%m%d_%H%M%S)" + backup_file="$BACKUP_DIR/root_authorized_keys.backup.$(date +%Y%m%d_%H%M%S)" cp /root/.ssh/authorized_keys "$backup_file" log "Backed up /root/.ssh/authorized_keys to $backup_file"