Fix the filtering of xfsinfo by punting stdout to /dev/null.

Merge of master-melb:xfs-cmds:30837a by kenmcd.

  Fix the filtering of xfsinfo by punting stdout to /dev/null.
This commit is contained in:
Dave Chinner
2008-04-10 06:20:11 +00:00
parent 9b1a4bd08e
commit 8de94fc04c
+1 -1
View File
@@ -50,7 +50,7 @@ kernel=`uname -r | sed -e 's/\(2\..\).*/\1/'`
# 2.6 Linux kernels support sector aligned direct I/O only
if [ "$HOSTOS" = "Linux" -a "$kernel" = "2.6" ]; then
xfs_info $TEST_DIR | _filter_mkfs 2> $tmp.info
xfs_info $TEST_DIR | _filter_mkfs 2> $tmp.info > /dev/null
if [ $? -eq 0 ]; then
source $tmp.info
bsize=$sectsz