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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 5 2023, 7:04 PM
Parents
rGd96360b7f2e0: Fix dkms installation of deb packages created with Alien.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG74da5eb46881: zfs-dkms: fix shell-init error message (authored by AllKind <allkind@fastest.cc>).Dec 5 2023, 7:04 PM