HomeFreeBSD

setlogincontext(): Comply to style(9)

Description

setlogincontext(): Comply to style(9)

Remove indentation by inverting the big 'if (lc)' and using 'return'.
Use explicit binary operators to produce booleans.

Reviewed by: emaste, kib, dchagin
Approved by: emaste (mentor)
MFC after: 3 days
Sponsored by: Kumacom SAS
Differential Revision: https://reviews.freebsd.org/D40346

Details

Provenance
olceAuthored on May 25 2023, 2:29 PM
Reviewer
emaste
Differential Revision
D40346: setlogincontext(): Comply to style(9)
Parents
rGea9bd448102b: login.conf(5): Document umask's special value 'inherit'
Branches
Unknown
Tags
Unknown