SUSE / suse-migration-services

GNU General Public License v3.0
7 stars 10 forks source link

Fix kernel check when there is no entry for 'multiversion =' #256

Closed KeithMnemonic closed 1 year ago

KeithMnemonic commented 1 year ago

This PR fixes an issue when the following lines in /etc/zypp/zypp.conf are commented out a stack trace was created.

multiversion = provides:multiversion(kernel)

multiversion.kernels = latest,running

With this change an appropriate warning message is logged and stacktrace do not occur.

Closes #255