summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-02-18 20:05:47 (GMT)
committer Jaromil <jaromil@dyne.org>2017-02-18 20:05:47 (GMT)
commit5902ddf2e37fb1cf572f8d55c771a41444569610 (patch)
tree8fcfa979e1b24e683f9b13922ccdb5d929a7d18f
parent845c5680cba7983c7027b2bdc4cbbc4361fb62f6 (diff)
extra check for addressbook import of '@' email entries
-rwxr-xr-xsrc/zlibs/addressbook3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zlibs/addressbook b/src/zlibs/addressbook
index 456564a..a0261b0 100755
--- a/src/zlibs/addressbook
+++ b/src/zlibs/addressbook
@@ -317,6 +317,9 @@ import() {
_e="${e_parsed[(ws:,:)1]:l}"
+ # this error of parsed '@' occurs sometimes
+ [[ "$_e" = "@" ]] && continue
+
# check if the email is not already known
lookup_email "$_e"
[[ $? = 0 ]] && {