diff --git a/read_values.c b/read_values.c index e227889..9ee5b92 100644 --- a/read_values.c +++ b/read_values.c @@ -352,7 +352,7 @@ struct utsname uts; erg = qc_get_attribute_string(configuration_handle, qc_type, 0, &cpu_type); if (erg == 1 && cpu_type != NULL) { - if ( check_model(cpu_type) ) { + if ( !check_model(cpu_type) ) { goto return_does_not_exist; } /* endif */ } /* endif */ diff --git a/s390-tools.changes b/s390-tools.changes index 641af87..06d9e07 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 15 07:55:09 UTC 2023 - Nikolay Gueorguiev + +- Fixed a logic error in read_values.c + ------------------------------------------------------------------- Mon Nov 13 13:13:11 UTC 2023 - Nikolay Gueorguiev