summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-08-04 23:21:06 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-08-04 23:28:02 +0200
commit24fb7c1fa633e90e4297e0715546c0bc47118ba9 (patch)
tree690ed5300ca7b9a9ea57f5bf274a7948208b45fc
parent8e211000025940b770794abf5754de61b4add0af (diff)
sysusers: isempty will never be < 0
looks like a typo from 1b99214789101976d6bbf75c351279584b071998
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 19568adf7a..446b36eb2b 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -1078,7 +1078,7 @@ static bool valid_user_group_name(const char *u) {
const char *i;
long sz;
- if (isempty(u) < 0)
+ if (isempty(u))
return false;
if (!(u[0] >= 'a' && u[0] <= 'z') &&