]> git.ipfire.org Git - thirdparty/util-linux.git/commit
newgrp: simplify if else clauses
authorSami Kerola <kerolasa@iki.fi>
Sat, 20 Dec 2014 12:23:06 +0000 (12:23 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 5 Jan 2015 22:53:01 +0000 (22:53 +0000)
commit477135dfec163b638b58cdb789949b0863a487a5
treeb8d53be42102519c52da4e138f90688adfcadada
parent9a5cbe5223264038e5dc8e87e0ec1ba4fd1b160c
newgrp: simplify if else clauses

The 'if' clauses that have termination as either of the control flow
results will never need 'else'.  Making the termination to happen true
flow is enough.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/newgrp.c