summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-01-11 16:08:02 (GMT)
committer Jaromil <jaromil@dyne.org>2017-01-11 16:08:02 (GMT)
commit7615ce01b9051605e604ac10b15f5ee6b60062d8 (patch)
treec0917ac30e39cedbbb2606774ad4d0af87af02dc
parent1ff2d3cd917040a4de7ba41c05172ad6f86e50fe (diff)
fix wrong unset on fetch
-rwxr-xr-xsrc/zlibs/email8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zlibs/email b/src/zlibs/email
index d517db6..bf4c6b9 100755
--- a/src/zlibs/email
+++ b/src/zlibs/email
@@ -280,17 +280,17 @@ fetch() {
case $res in
1)
notice "No mails for $name"
- unset $fmconf
+ unset fmconf
return 1
;;
2)
error "Invalid or unknown certificate for $imap"
- unset $fmconf
+ unset fmconf
return 1
;;
3)
error "Invalid password for user $login at $imap"
- unset $fmconf
+ unset fmconf
return 1
;;
7) warning "Mailbox selection failed (${flog[${#flog}]#*\(}"
@@ -313,7 +313,7 @@ END { printf("\n") }'
act "dryrun: nothing will be fetched really."
fi
- unset $fmconf
+ unset fmconf
return 0
}