mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Add missing if condition for vfio
This commit is contained in:
@@ -623,7 +623,7 @@ impl CtrlGraphics {
|
||||
false
|
||||
};
|
||||
|
||||
if !vfio_enable {
|
||||
if !vfio_enable && matches!(vendor, GfxVendors::Vfio) {
|
||||
return Err(GfxError::VfioDisabled.into());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user