diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-03 16:37:53 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-03 16:37:53 +0000 |
commit | 4e2e2ab1d3ac93821434c5e7723ffbcda1b0aee4 (patch) | |
tree | 9928c59d10211b70327791bb9949cb1f6bd7c273 /gmid.c | |
parent | d672b8fba149427b68a0072c8b28db261833e960 (diff) |
refactor executor_main
now it's symmetrical to listener_main().
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -504,8 +504,9 @@ serve(int argc, char **argv, int *p) close(p[1]); p[1] = -1; } + exfd = p[0]; drop_priv(); - return executor_main(p[0]); + return executor_main(); } } |