From: Simon Ruderich Date: Sat, 11 Feb 2017 01:31:53 +0000 (+0100) Subject: drop_privileges_or_die: improve error message in die_fmt X-Git-Tag: 0.1~14 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c8ffdb4777654018284c63d7824efca50e5d65b7;p=ptyas%2Fptyas.git drop_privileges_or_die: improve error message in die_fmt --- diff --git a/ptyas.c b/ptyas.c index 71ac027..ab99f8e 100644 --- a/ptyas.c +++ b/ptyas.c @@ -119,7 +119,7 @@ static void drop_privileges_or_die(uid_t uid, gid_t gid) { die("setgroups"); } if (getgroups(0, NULL) != 0) { - die_fmt("failed to drop all groups"); + die_fmt("failed to drop all supplementary groups"); } /* Dropping groups may require privileges, do that first. */