Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fr00d committed Dec 15, 2019
2 parents c75620f + 8c4e87b commit 649b38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automysqlbackup
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ mail_cleanup () {
'bunzip2 <mail_attachment_2011-08-13_13h15m.tar.bz2 | pax -rv' to extract the content."
for ((j=0;j<"${#files[@]}";j++)); do
if [[ "x$CONFIG_mail_use_uuencoded_attachments" = "xyes" ]]; then
if (( $j = 0 )); then
if (( $j == 0 )); then
cat "$log_file" > "$temp"
uuencode "$j" "$j" >> "$temp"
else
Expand Down Expand Up @@ -352,7 +352,7 @@ files_postprocessing () {
if (( $CONFIG_dryrun )); then
printf 'dry-running: cp -al %s.enc %s/latest/\n' "${1}" "${CONFIG_backup_dir}"
else
cp -al "${1}${suffix}.enc" "${CONFIG_backup_dir}"/latest/
cp -al "${1}.enc" "${CONFIG_backup_dir}"/latest/
fi
else
if (( $CONFIG_dryrun )); then
Expand Down

0 comments on commit 649b38f

Please sign in to comment.