Fixed bug with testing variable
This commit is contained in:
parent
d2e13eb940
commit
05e178b38b
2
updater
2
updater
|
|
@ -92,7 +92,7 @@ function clean_up {
|
||||||
echo >> "$runtime_dir/logs/updater.log"
|
echo >> "$runtime_dir/logs/updater.log"
|
||||||
cat "$logs_dir/updater.log" >> "$logs_dir/updater.history"
|
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 {
|
function check_restoration {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user