Fixed bug

Identified bug around line 400 where line started with 'r[['. Removed 'r' from the start of the line.
This commit is contained in:
Ethan Smith-Coss 2021-07-01 13:56:14 +01:00
parent 664655bc65
commit e1c3f9f1cc

View File

@ -408,7 +408,7 @@ exit_code=$?
log "DEBUG" "Successfully extracted files from data.tar.gz." "$log_file"
[[ ! $quiet -eq 0 ]] && echo "completed."
## etc/ directory only contains a cron daily directory, remove it
r[[ ! $quiet -eq 0 ]] && m -r "$tmp_path/etc/"
[[ ! $quiet -eq 0 ]] && m -r "$tmp_path/etc/"
## add data.tar.xz to the garbage list
echo "$tmp_path/data.tar.xz" >> "$garbage"