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
GitHub <noreply@github.com>Committed on Nov 27 2023, 9:17 PM
Parents
rGcf331663369b: ZVOL: Minor code cleanup
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG95b68eb693ba: zfs-dkms: fix shell-init error message (authored by AllKind <allkind@fastest.cc>).Nov 27 2023, 9:17 PM