Skip to content

Commit fd11f3f

Browse files
authored
Merge pull request #383 from kilobyte/bashism-redir
fix a bashism
2 parents fc07d1e + 82adc21 commit fd11f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pcm-bw-histogram.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rm $out
1818
echo
1919
echo ========= CHECKING FOR PMM SUPPORT =========
2020
echo
21-
./pcm-memory -pmm -- sleep 1 &> tmp
21+
./pcm-memory -pmm -- sleep 1 >tmp 2>&1
2222
dram_only=`cat tmp | grep "PMM traffic metrics are not available" | wc -l`
2323
rm tmp
2424
if [ $dram_only -gt 0 ]

0 commit comments

Comments
 (0)