diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c index bf07a44eb..ecd9d06df 100644 --- a/libdm/ioctl/libdm-iface.c +++ b/libdm/ioctl/libdm-iface.c @@ -965,10 +965,8 @@ int dm_check_version(void) if (_check_version(dmversion, sizeof(dmversion), _dm_compat)) return 1; - if (!_dm_compat) { - log_error("Support for older device-mapped version is disabled."); - goto bad; - } + if (!_dm_compat) + goto_bad; log_verbose("device-mapper ioctl protocol version %u failed. " "Trying protocol version 1.", _dm_version);