findmnt: use warning rather than error from FS type mismatch
Fixes: https://github.com/util-linux/util-linux/issues/2148 Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
6df1a6c455
commit
6d9c74af88
1 changed files with 2 additions and 2 deletions
|
@ -464,11 +464,11 @@ static int verify_fstype(struct verify_context *vfy)
|
|||
|| strcmp(realtype, "btrfs") == 0;
|
||||
|
||||
if (type && !isauto && strcmp(type, realtype) != 0) {
|
||||
verify_err(vfy, _("%s does not match with on-disk %s"), type, realtype);
|
||||
verify_warn(vfy, _("%s does not match with on-disk %s"), type, realtype);
|
||||
goto done;
|
||||
}
|
||||
if (!isswap && !is_supported_filesystem(vfy, realtype)) {
|
||||
verify_err(vfy, _("on-disk %s seems unsupported by the current kernel"), realtype);
|
||||
verify_warn(vfy, _("on-disk %s seems unsupported by the current kernel"), realtype);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue