Only show successful filter output. OOM might be in our way. - annna - Annna the nice friendly bot.
 (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
       ---
 (DIR) commit 7b761e77c02c23a0cc91aca7a16429100a514c70
 (DIR) parent 1ba8236a2735c772777293c2227433fa383a6867
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Wed, 19 May 2021 22:59:02 +0200
       
       Only show successful filter output. OOM might be in our way.
       
       Diffstat:
         M annna-message-common                |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/annna-message-common b/annna-message-common
       @@ -669,9 +669,11 @@ case "${text}" in
        
                        [ ! -f "${inpath}" ] && exit 0
        
       +                [ -f "${outpath}" -a ! -s "${outpath}" ] && rm "${outpath}"
       +
                        ffmpeg-effect "${filter}" "${inpath}" "${outpath}"
        
       -                if [ -f "${outpath}" ];
       +                if [ -s "${outpath}" ];
                        then
                                annna-say -c "${channel}" "${user}, gopher://bitreich.org/9/memecache/filter/${outfile}"
                        fi