diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2019-08-03 01:02:32 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2019-08-03 01:02:32 +0400 |
commit | e244652831932ab9deed83d38dd3f6f1958b91ef (patch) | |
tree | 0b43d3ad9620731ea64abf707975f8e1388c1c52 /plugin | |
parent | 60a37783aea46d9365b625112c4006db643b6e87 (diff) | |
download | mariadb-git-e244652831932ab9deed83d38dd3f6f1958b91ef.tar.gz |
MDEV-20246 Error compiling PAM plugin.
Ignore the setreuid() return here.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/auth_pam/auth_pam_tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_pam/auth_pam_tool.c b/plugin/auth_pam/auth_pam_tool.c index 3ab2e00c142..3947091ec4a 100644 --- a/plugin/auth_pam/auth_pam_tool.c +++ b/plugin/auth_pam/auth_pam_tool.c @@ -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; |