fix(utilities.sh): typo

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-05 10:13:07 +02:00
parent 3676914a21
commit f1f9da30de

View File

@@ -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