[fix] Replace leftover /root/install_opt strings with variable

This commit is contained in:
William Wernert
2021-01-19 11:20:48 -05:00
parent d91913e58e
commit 650008e1e6
2 changed files with 4 additions and 13 deletions

View File

@@ -318,7 +318,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
else
rm -rf /root/install_opt >> "$setup_log" 2>&1
rm -rf $install_opt_file >> "$setup_log" 2>&1
fi
short_name=$(echo "$HOSTNAME" | awk -F. '{print $1}')