Commit 01363a24 authored by Wayne Davison's avatar Wayne Davison

Fixed a problem handling GID_NONE in match_gid().

parent d49def48
......@@ -215,8 +215,8 @@ static gid_t match_gid(gid_t gid)
static gid_t last_in = GID_NONE, last_out = GID_NONE;
struct idlist *list;
if (gid == 0)
return 0;
if (gid == GID_NONE)
return GID_NONE;
if (gid == last_in)
return last_out;
......
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