Skip to content

Commit 82adc21

Browse files
committed
Fix a bash-only redirection.
The hashbang is #!/bin/sh which on most distributions is not bash.
1 parent bb8d4eb commit 82adc21

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)