start_process_worker() -- fork pkg(8). Leave the child to carry on and do whatever is required as normal. However iff the child exits with status EX_NEEDRESTART, fork again and replay the same process.
modified src/main.c
@@ -3,6 +3,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,6 +33,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -409,6 +412,43 @@ export_arg_option (char *arg)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -509,6 +549,8 @@ main(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|