X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT140-excludes.sh;h=e9cc9cb078d73352539973937ac44eee65b34ac6;hb=78632345868b5e4753ad402c806c29569946ce89;hp=352b3eb8c14314cbbd17391c9c795f8b66b2cf02;hpb=4561f694e94aff47e7065186c4efaf2c6b010a41;p=notmuch 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) } #############################################