1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +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; const char *i;
long sz; long sz;
if (isempty(u) < 0) if (isempty(u))
return false; return false;
if (!(u[0] >= 'a' && u[0] <= 'z') && if (!(u[0] >= 'a' && u[0] <= 'z') &&