Page MenuHomeFreeBSD

adduser: A few more improvements.
ClosedPublic

Authored by des on Apr 19 2024, 4:04 PM.
Tags
None
Referenced Files
F166094364: D44871.id.diff
Tue, Aug 11, 4:34 PM
Unknown Object (File)
Mon, Aug 10, 10:21 AM
Unknown Object (File)
Mon, Aug 10, 9:39 AM
Unknown Object (File)
Mon, Aug 10, 9:18 AM
Unknown Object (File)
Sun, Aug 9, 3:29 PM
Unknown Object (File)
Sat, Aug 8, 2:42 AM
Unknown Object (File)
Fri, Aug 7, 5:41 PM
Unknown Object (File)
Fri, Aug 7, 6:15 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Apr 19 2024, 4:04 PM
In D44871#1023012, @jrm wrote:

Looks good to me.

Then accept it, please.

This revision is now accepted and ready to land.Apr 20 2024, 4:47 PM
This revision was automatically updated to reflect the committed changes.
jlduran added inline comments.
usr.sbin/adduser/adduser.sh
480

Sorry, for the late review, as this is already committed, but I do not understand this change. Wouldn't it throw an error?

usr.sbin/adduser/adduser.sh
480–481

It looks good to me. It's now saying if the zfs kernel module isn't loaded *or* the user opted not to have the zfs home dataset created.

usr.sbin/adduser/adduser.sh
480

Oh, I see what you're saying. The syntax is wrong. The ; then is missing.

usr.sbin/adduser/adduser.sh
480

Precisely! You beat me to it. Thank you!

480–481

I guess, what I meant was, isn't it missing a ; then and indenting with 4 spaces instead of a tab the next line?