mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:48:32 +00:00
try to fix search user instead of search substring
Signed-off-by: Alexander Kriventsov <akriventsov@nic.ru>
This commit is contained in:
parent
3e8a11cb1c
commit
9ed8c96ffb
@ -423,6 +423,7 @@ static char *find_line(char *buf_start, char *buf_end, char *name,
|
||||
if (strncmp(buf_start, name, strlen(name)))
|
||||
*found = false;
|
||||
else
|
||||
if (strlen(name) == (size_t)(end_of_word - buf_start))
|
||||
*owner = true;
|
||||
|
||||
buf_start = end_of_word + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user