diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/chpst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/chpst.c b/runit/chpst.c index 82a81f549..21297daf6 100644 --- a/runit/chpst.c +++ b/runit/chpst.c | |||
@@ -200,11 +200,11 @@ int chpst_main(int argc UNUSED_PARAM, char **argv) | |||
200 | // if yes -> getopt converts strings to numbers for us | 200 | // if yes -> getopt converts strings to numbers for us |
201 | opt_complementary = "-1:a+:c+:d+:f+:l+:m+:o+:p+:r+:s+:t+"; | 201 | opt_complementary = "-1:a+:c+:d+:f+:l+:m+:o+:p+:r+:s+:t+"; |
202 | opt = getopt32(argv, "+a:c:d:f:l:m:o:p:r:s:t:u:U:e:" | 202 | opt = getopt32(argv, "+a:c:d:f:l:m:o:p:r:s:t:u:U:e:" |
203 | USE_CHPST("/:n:vP012"), | 203 | IF_CHPST("/:n:vP012"), |
204 | &limita, &limitc, &limitd, &limitf, &limitl, | 204 | &limita, &limitc, &limitd, &limitf, &limitl, |
205 | &limitm, &limito, &limitp, &limitr, &limits, &limitt, | 205 | &limitm, &limito, &limitp, &limitr, &limits, &limitt, |
206 | &set_user, &env_user, &env_dir | 206 | &set_user, &env_user, &env_dir |
207 | USE_CHPST(, &root, &nicestr)); | 207 | IF_CHPST(, &root, &nicestr)); |
208 | argv += optind; | 208 | argv += optind; |
209 | if (opt & OPT_m) { // -m means -asld | 209 | if (opt & OPT_m) { // -m means -asld |
210 | limita = limits = limitl = limitd = limitm; | 210 | limita = limits = limitl = limitd = limitm; |