]> git.notmuchmail.org Git - notmuch/blobdiff - test/T140-excludes.sh
test: quiet some extra debugging output
[notmuch] / test / T140-excludes.sh
index 352b3eb8c14314cbbd17391c9c795f8b66b2cf02..e9cc9cb078d73352539973937ac44eee65b34ac6 100755 (executable)
@@ -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)
 }
 
 #############################################