summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chroot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chroot.c b/src/chroot.c
index fff0b533d..6c2d63f55 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -392,8 +392,7 @@ main (int argc, char **argv)
#endif
if ((uid_set (uid) || groups) && setgroups (n_gids, gids) != 0)
- error (EXIT_CANCELED, errno, _("failed to %s supplemental groups"),
- gids ? "set" : "clear");
+ error (EXIT_CANCELED, errno, _("failed to set supplemental groups"));
free (in_gids);
free (out_gids);