From f1f9da30decc55d450d6cd599bf48e1cd485cf78 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 5 May 2022 10:13:07 +0200 Subject: [PATCH] fix(utilities.sh): typo Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/utilities.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utilities.sh b/scripts/utilities.sh index d3a2705..603f83a 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -590,7 +590,7 @@ function set_hostname(){ if [ -f /etc/hosts ]; then current_date=$(get_date) status_msg "Creating backup of hosts file ..." - sudo cp "/etc/hosts /etc/hosts.${current_date}.bak" + sudo cp "/etc/hosts" "/etc/hosts.${current_date}.bak" ok_msg "Backup done!" ok_msg "File:'/etc/hosts.${current_date}.bak'" else