aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/setpriv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c
index 6bd663bf4..686ad45d5 100644
--- a/util-linux/setpriv.c
+++ b/util-linux/setpriv.c
@@ -62,7 +62,8 @@ int setpriv_main(int argc UNUSED_PARAM, char **argv)
62 62
63 opt_complementary = "-1"; 63 opt_complementary = "-1";
64 applet_long_options = setpriv_longopts; 64 applet_long_options = setpriv_longopts;
65 opts = getopt32(argv, ""); 65 opts = getopt32(argv, "+");
66
66 if (opts) { 67 if (opts) {
67 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) 68 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
68 bb_simple_perror_msg_and_die("prctl: NO_NEW_PRIVS"); 69 bb_simple_perror_msg_and_die("prctl: NO_NEW_PRIVS");