mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
adduser: Fix a syntax error
Reported by: Jose Luis Duran <jlduran@gmail.com>
Fixes: b37333899b
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44871
This commit is contained in:
parent
911a6479e1
commit
5cafc38f11
|
@ -477,8 +477,7 @@ 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"
|
||||
if ! "$KLDSTATCMD" -q -m zfs || Zcreate="no"; then
|
||||
return
|
||||
fi
|
||||
if ! _prefix=$(${ZFSCMD} list -Ho name "${homeprefix}" 2>/dev/null) ||
|
||||
|
|
Loading…
Reference in a new issue