]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: clean up signals usage
authorKarel Zak <kzak@redhat.com>
Fri, 11 Aug 2017 14:47:01 +0000 (16:47 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2017 09:48:56 +0000 (11:48 +0200)
commit5fc211d2178aad934f8d24d44dd73d060f4577e1
tree7e88b2b666b12898db604c5d9ecb1743c70fc975
parentfeab56878a28fc242fe55e1aacdfc9359cf60c88
su: clean up signals usage

- don't use magic numbers to index old actions
- don't use if () if ()
- make if() conditions more readable

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c