X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT140-excludes.sh;fp=test%2FT140-excludes.sh;h=e9cc9cb078d73352539973937ac44eee65b34ac6;hp=352b3eb8c14314cbbd17391c9c795f8b66b2cf02;hb=69c2c930ecbcba0c7f0b340db478e58ca218bf87;hpb=119a41b9edd5722bcb7a0a41bac010f254a652fd diff --git a/test/T140-excludes.sh b/test/T140-excludes.sh index 352b3eb8..e9cc9cb0 100755 --- a/test/T140-excludes.sh +++ b/test/T140-excludes.sh @@ -21,7 +21,7 @@ generate_thread () { done notmuch new > /dev/null # We cannot retrieve the thread_id until after we have run notmuch new. - gen_thread_id=`notmuch search --output=threads id:${gen_thread_msg_id[0]}` + gen_thread_id=$(notmuch search --output=threads id:${gen_thread_msg_id[0]} 2>/dev/null) } #############################################