HomeFreeBSD

zfs-dkms: fix shell-init error message

Description

zfs-dkms: fix shell-init error message

If all zfs dkms modules have been removed, a shell-init error message
may appear, because /var/lib/dkms/zfs does no longer exist.
Resolve this by leaving the directory earlier on.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mart Frauenlob <AllKind@fastest.cc>
Closes #15576

Details

Provenance
AllKind <allkind@fastest.cc>Authored on Nov 27 2023, 9:17 PM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 28 2023, 11:19 PM
Parents
rG349fb77f1167: FreeBSD: Fix the build on FreeBSD 12
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG3b267e72de6f: zfs-dkms: fix shell-init error message (authored by AllKind <allkind@fastest.cc>).Nov 28 2023, 11:19 PM