1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +03:00

sysusers: isempty will never be < 0

looks like a typo from 	1b99214789
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-08-04 23:21:06 +02:00
parent 8e21100002
commit 24fb7c1fa6

View File

@ -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') &&