Commit e2446528 authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-20246 Error compiling PAM plugin.

Ignore the setreuid() return here.
parent 60a37783
......@@ -70,7 +70,7 @@ int main(int argc, char **argv)
int res;
char a_buf[MYSQL_USERNAME_LENGTH + 1 + 1024];
setreuid(0, 0);
(void) setreuid(0, 0);
if (read(0, &field, 1) < 1)
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment