aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nsenter.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/nsenter.c')
-rw-r--r--util-linux/nsenter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c
index 4eeaa9f3e..304f2d748 100644
--- a/util-linux/nsenter.c
+++ b/util-linux/nsenter.c
@@ -257,7 +257,7 @@ int nsenter_main(int argc UNUSED_PARAM, char **argv)
257 257
258 if (opts & OPT_setgid) { 258 if (opts & OPT_setgid) {
259 if (setgroups(0, NULL) < 0 && setgroups_failed) 259 if (setgroups(0, NULL) < 0 && setgroups_failed)
260 bb_perror_msg_and_die("setgroups"); 260 bb_simple_perror_msg_and_die("setgroups");
261 xsetgid(gid); 261 xsetgid(gid);
262 } 262 }
263 if (opts & OPT_setuid) 263 if (opts & OPT_setuid)