]> diplodocus.org Git - nmh/blobdiff - test/dist/test-dist
test: Send command's stderr down pipe; don't discard.
[nmh] / test / dist / test-dist
index 496986f..d3f6279 100755 (executable)
@@ -94,7 +94,7 @@ Usage: dist [+folder] [msg] [switches]
 EOF
 
 #### Skip nmh intro text.
-dist -help | sed '/^$/,$d' >"$actual" 2>&1
+dist -help 2>&1 | sed '/^$/,$d' >"$actual"
 check "$expected" "$actual"
 
 # check -version