[core] avoid making convert show an error message

This commit is contained in:
Shish 2024-01-09 15:26:45 +00:00
parent 81ec577b32
commit cafef06b14

View file

@ -143,7 +143,7 @@ function check_gd_version(): int
*/ */
function check_im_version(): int function check_im_version(): int
{ {
$convert_check = exec("convert"); $convert_check = exec("convert --version");
return (empty($convert_check) ? 0 : 1); return (empty($convert_check) ? 0 : 1);
} }