mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
adduser: Really fix a syntax error
Fixes: 5cafc38f1129 Differential Revision: https://reviews.freebsd.org/D44871 (cherry picked from commit 9e8618276fada5c68cc64676fba2ae2abd0544f5)
This commit is contained in:
parent
4f4905b2ef
commit
edff88aee2
1 changed files with 2 additions and 1 deletions
|
|
@ -477,7 +477,8 @@ get_zfs_home() {
|
|||
|
||||
# check if zfs kernel module is loaded before attempting to run zfs to
|
||||
# prevent loading the kernel module on systems that don't use ZFS
|
||||
if ! "$KLDSTATCMD" -q -m zfs || Zcreate="no"; then
|
||||
if ! "$KLDSTATCMD" -q -m zfs; then
|
||||
Zcreate="no"
|
||||
return
|
||||
fi
|
||||
if ! _prefix=$(${ZFSCMD} list -Ho name "${homeprefix}" 2>/dev/null) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue