fixup! Refactor ostree_sysroot_query_bootloader

This commit is contained in:
William Manley 2020-10-27 13:24:46 +00:00
parent 631528c87b
commit 663c5b41a3

View File

@ -1345,6 +1345,9 @@ _ostree_sysroot_new_bootloader_by_type (
/* We never consider zipl as active by default, so it can only be created
* if it's explicitly requested in the config */
return (OstreeBootloader*) _ostree_bootloader_zipl_new (sysroot);
case CFG_SYSROOT_BOOTLOADER_OPT_AUTO:
/* "auto" is handled by ostree_sysroot_query_bootloader so we should
* never get here: Fallthrough */
default:
g_assert_not_reached ();
}