File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ mail_cleanup () {
177177 'bunzip2 <mail_attachment_2011-08-13_13h15m.tar.bz2 | pax -rv' to extract the content."
178178 for (( j= 0 ;j< "${# files[@]} ";j++ )) ; do
179179 if [[ " x$CONFIG_mail_use_uuencoded_attachments " = " xyes" ]]; then
180- if (( $j = 0 )) ; then
180+ if (( $j == 0 )) ; then
181181 cat " $log_file " > " $temp "
182182 uuencode " $j " " $j " >> " $temp "
183183 else
@@ -352,7 +352,7 @@ files_postprocessing () {
352352 if (( $CONFIG_dryrun )) ; then
353353 printf ' dry-running: cp -al %s.enc %s/latest/\n' " ${1} " " ${CONFIG_backup_dir} "
354354 else
355- cp -al " ${1}${suffix} .enc" " ${CONFIG_backup_dir} " /latest/
355+ cp -al " ${1} .enc" " ${CONFIG_backup_dir} " /latest/
356356 fi
357357 else
358358 if (( $CONFIG_dryrun )) ; then
You can’t perform that action at this time.
0 commit comments