Page MenuHomeFreeBSD

adduser: A few more improvements.
ClosedPublic

Authored by des on Apr 19 2024, 4:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 10, 3:32 PM
Unknown Object (File)
Sun, Feb 9, 10:28 AM
Unknown Object (File)
Sun, Feb 2, 6:40 PM
Unknown Object (File)
Jan 16 2025, 7:16 PM
Unknown Object (File)
Jan 16 2025, 1:06 AM
Unknown Object (File)
Jan 12 2025, 11:47 AM
Unknown Object (File)
Jan 8 2025, 9:01 AM
Unknown Object (File)
Dec 11 2024, 5:42 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?