diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2024-04-29 10:29:35 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2024-04-29 10:29:35 +0000 |
commit | 9e8618276fada5c68cc64676fba2ae2abd0544f5 (patch) | |
tree | bdc9f43e808ef9759e550c1fbcf4098f7de9660b /usr.sbin | |
parent | c28253ecde333c9908b7160664805acc3a92e2b0 (diff) | |
download | src-9e8618276fada5c68cc64676fba2ae2abd0544f5.tar.gz src-9e8618276fada5c68cc64676fba2ae2abd0544f5.zip |
adduser: Really fix a syntax error
Fixes: 5cafc38f1129
Differential Revision: https://reviews.freebsd.org/D44871
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index 9739b2e589fa..e9027b6b7876 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -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) || |