common: always pass -f to $DUMP_COMPRESSOR
[xfstests-dev.git] / common / xfs
index 0ec5b03..725819b 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
 }