Page MenuHomeFreeBSD

adduser: A few more improvements.
ClosedPublic

Authored by des on Apr 19 2024, 4:04 PM.
Tags
None
Referenced Files
F166620820: D44871.id137396.diff
Fri, Aug 14, 10:24 PM
F166620683: D44871.diff
Fri, Aug 14, 10:22 PM
Unknown Object (File)
Wed, Aug 12, 8:09 PM
Unknown Object (File)
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
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57222
Build 54110: arc lint + arc unit

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?