common: always pass -f to $DUMP_COMPRESSOR
[xfstests-dev.git] / common / xfs
index 0ec5b03ccc487a5315a5b305951441f12d0ae99d..725819bd66acef33af9fca82605a393337c40b38 100644 (file)
@@ -478,7 +478,7 @@ _xfs_metadump() {
        $XFS_METADUMP_PROG $options "$device" "$metadump"
        res=$?
        [ "$compressopt" = "compress" ] && [ -n "$DUMP_COMPRESSOR" ] &&
-               $DUMP_COMPRESSOR "$metadump" &> /dev/null
+               $DUMP_COMPRESSOR -f "$metadump" &> /dev/null
        return $res
 }