]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: remove redundant condition
authorKarel Zak <kzak@redhat.com>
Wed, 18 Jul 2018 07:46:40 +0000 (09:46 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Jul 2018 07:54:05 +0000 (09:54 +0200)
commit4d43029b72325ff3e3215d9ce20a8acfaf8b5fa9
treebd96a4ae69eaea7db21b66cbbb61e22b5dde8986
parent8deb816173187ce0666c1daa37ec35e4b7026b98
lslogins: remove redundant condition

[util-linux-2.32.1/login-utils/lslogins.c:601]: (style) Redundant condition: If '!EXPR', the comparison 'EXPR != '$'' is always true.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/lslogins.c