Fixed bug with testing variable

This commit is contained in:
Ethan Smith-Coss 2021-06-21 15:54:50 +01:00
parent d2e13eb940
commit 05e178b38b

View File

@ -92,7 +92,7 @@ function clean_up {
echo >> "$runtime_dir/logs/updater.log"
cat "$logs_dir/updater.log" >> "$logs_dir/updater.history"
[[ $test_run -eq 0 ]] && cat "$logs_dir/updater.log"
[[ -e $test_run ]] && cat "$logs_dir/updater.log"
}
function check_restoration {