Skip to content
Snippets Groups Projects
Commit 755026f4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix syntax error in if statement

parent bd764b55
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment