mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user