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