From: martin f. krafft Date: Tue, 4 Mar 2008 20:39:08 +0000 (+0100) Subject: do not fail if there is just a single message X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/ea165ed0a86ce8827c27f61b000797ce01b90a8f?ds=inline do not fail if there is just a single message --- diff --git a/bin/list-postponed-messages b/bin/list-postponed-messages index d0ee1af..3562b2f 100755 --- a/bin/list-postponed-messages +++ b/bin/list-postponed-messages @@ -61,7 +61,7 @@ for i in $maildirs; do echo "$d/cur/" done \ | xargs -I {} find {} -type f \ - | xargs grep '^X-Postponed:' \ + | xargs grep -H '^X-Postponed:' \ | while read i; do f="${i%:X-Postponed:*}" ts="${i#*:X-Postponed: }"; ts="${ts%% *}"