From: Petr Benes Date: Tue, 22 Feb 2011 11:24:27 +0000 (+0100) Subject: forb: forbrun passes the parameters to shlibs properly X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/forb.git/commitdiff_plain/6d065f570f065d68e45dfe3066f696144cf3a42f forb: forbrun passes the parameters to shlibs properly --- diff --git a/src/forbrun/forbrun.c b/src/forbrun/forbrun.c index 9e7ec0d..2319cf0 100644 --- a/src/forbrun/forbrun.c +++ b/src/forbrun/forbrun.c @@ -47,6 +47,7 @@ void *forb_main_thread(void *arg) { struct forb_main_data *data = arg; int ret; + optind = 1; ret = data->forb_main(data->orb, data->argc, data->argv); free(data); exit(ret);