drop_privileges_or_die: improve error message in die_fmt
authorSimon Ruderich <simon@ruderich.org>
Sat, 11 Feb 2017 01:31:53 +0000 (02:31 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 11 Feb 2017 01:31:53 +0000 (02:31 +0100)
ptyas.c

diff --git a/ptyas.c b/ptyas.c
index 71ac027059afc9f87ec5f8508d9e4aee14e71698..ab99f8ede71cf352d4d7aa2ef9c2af83a5b4ef06 100644 (file)
--- 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. */