commit 7615ce01b9051605e604ac10b15f5ee6b60062d8
parent 1ff2d3cd917040a4de7ba41c05172ad6f86e50fe
Author: Jaromil <jaromil@dyne.org>
Date:   Wed, 11 Jan 2017 17:08:02 +0100
fix wrong unset on fetch
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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
 }