From c8ffdb4777654018284c63d7824efca50e5d65b7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 11 Feb 2017 02:31:53 +0100 Subject: [PATCH] drop_privileges_or_die: improve error message in die_fmt --- ptyas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.45.2