From: Timo Sirainen Date: Fri, 20 Jan 2012 15:56:32 +0000 (+0200) Subject: decode2text.sh: Hide catdoc/catppt/xls2csv segmentation faults. X-Git-Tag: 2.1.rc4~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d39b72f74114cfeb3fc7941fc423276c92f181;p=thirdparty%2Fdovecot%2Fcore.git decode2text.sh: Hide catdoc/catppt/xls2csv segmentation faults. We can't do anything about them anyway. --- diff --git a/src/plugins/fts/decode2text.sh b/src/plugins/fts/decode2text.sh index 716f93fc36..d9587e9e0b 100755 --- a/src/plugins/fts/decode2text.sh +++ b/src/plugins/fts/decode2text.sh @@ -74,11 +74,11 @@ export LANG if [ $fmt = "pdf" ]; then /usr/bin/pdftotext $path - 2>/dev/null elif [ $fmt = "doc" ]; then - /usr/bin/catdoc $path 2>/dev/null + (/usr/bin/catdoc $path; true) 2>/dev/null elif [ $fmt = "ppt" ]; then - /usr/bin/catppt $path 2>/dev/null + (/usr/bin/catppt $path; true) 2>/dev/null elif [ $fmt = "xls" ]; then - /usr/bin/xls2csv $path 2>/dev/null + (/usr/bin/xls2csv $path; true) 2>/dev/null elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then xmlunzip "content.xml" elif [ $fmt = "docx" ]; then