aboutsummaryrefslogtreecommitdiff
path: root/runit/chpst.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/chpst.c')
-rw-r--r--runit/chpst.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index c061a91ea..3ecb85cba 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -301,9 +301,10 @@ int chpst_main(int argc UNUSED_PARAM, char **argv)
301 // FIXME: can we live with int-sized limits? 301 // FIXME: can we live with int-sized limits?
302 // can we live with 40000 days? 302 // can we live with 40000 days?
303 // if yes -> getopt converts strings to numbers for us 303 // if yes -> getopt converts strings to numbers for us
304 opt_complementary = "-1"; 304 opt = getopt32(argv, "^+"
305 opt = getopt32(argv, "+a:+c:+d:+f:+l:+m:+o:+p:+r:+s:+t:+u:U:e:" 305 "a:+c:+d:+f:+l:+m:+o:+p:+r:+s:+t:+u:U:e:"
306 IF_CHPST("/:n:vP012"), 306 IF_CHPST("/:n:vP012")
307 "\0" "-1",
307 &limita, &limitc, &limitd, &limitf, &limitl, 308 &limita, &limitc, &limitd, &limitf, &limitl,
308 &limitm, &limito, &limitp, &limitr, &limits, &limitt, 309 &limitm, &limito, &limitp, &limitr, &limits, &limitt,
309 &set_user, &set_user, &env_dir 310 &set_user, &set_user, &env_dir