diff --git a/contrib/initramfs/scripts/zfs b/contrib/initramfs/scripts/zfs index 306e6e157e..35502291e6 100644 --- a/contrib/initramfs/scripts/zfs +++ b/contrib/initramfs/scripts/zfs @@ -630,6 +630,7 @@ setup_snapshot_booting() then # Rollback snapshot rollback_snap "$s" || retval=$((retval + 1)) + ZFS_BOOTFS="${rootfs}" else # Setup a destination filesystem name. # Ex: Called with 'rpool/ROOT/debian@snap2'