config_parse_user_tasks_max() was incorrectly accepting percentage value
between 1 and 99. Update it to accept 0% and 100%. This brings it in line
with TasksMax handling in elogind.
(cherry picked from commit
cb3e4417590196bd30e1b8097348dca6ba34bd15)
/* First, try to parse as percentage */
r = parse_percent(rvalue);
/* First, try to parse as percentage */
r = parse_percent(rvalue);
k = system_tasks_max_scale(r, 100U);
else {
k = system_tasks_max_scale(r, 100U);
else {