direct stderr to /dev/null

This commit is contained in:
Thomas Levine 2016-02-29 00:43:56 +00:00
parent a94d04b136
commit 9477e3ee73

2
urchin
View File

@ -231,7 +231,7 @@ report_outcome() {
# Sort in alphabetical order. # Sort in alphabetical order.
# GNU sort requires -m, and BSD sort doesn't. # GNU sort requires -m, and BSD sort doesn't.
sort -m "$log_file" > $sorted_log_file || sort -m "$log_file" > $sorted_log_file 2>/dev/null ||
sort "$log_file" > $sorted_log_file sort "$log_file" > $sorted_log_file
while read line; do while read line; do