diff --git a/lib/Controller/OtherController.php b/lib/Controller/OtherController.php index f1fd5c72..d5082990 100644 --- a/lib/Controller/OtherController.php +++ b/lib/Controller/OtherController.php @@ -178,7 +178,7 @@ class OtherController extends GenericApiController // Check for VA-API device $devPath = '/dev/dri/renderD128'; - if (!is_file($devPath)) { + if (!file_exists($devPath)) { $status['vaapi_dev'] = 'not_found'; } elseif (!is_readable($devPath)) { $status['vaapi_dev'] = 'not_readable';