]> wimlib.net Git - wimlib/blobdiff - tests/tests-common.sh
tests fixes
[wimlib] / tests / tests-common.sh
index c80dbefff38c75792a897fb48cf0773eeb10f2fd..59c28c6334bbc122d9b44a45d4fada56de14b45e 100644 (file)
@@ -1,7 +1,7 @@
 srcdir="${srcdir:-.}/.."
 srcdir="$(cd $srcdir; pwd)"
 
-if stat -c %i . ; then
+if stat -c %i . &> /dev/null ; then
        BSD_STAT=0
 else
        BSD_STAT=1