Skip to content

Fix typo in prepare_zfs_root().

Ben Hoskings requested to merge benhoskings/mkinitfs:prepare_zfs_root-fix into master

This typo causes $_root_pool to be an empty string, which causes the subsequent zpool list to output encryption status for every pool rather than just one, breaking the comparison.

On systems with a zfs root and more than one pool present, this manifests as an error message on boot just before openrc is invoked:

sh: enabled: unknown operand

Merge request reports