diff --git a/src/switch_core.c b/src/switch_core.c index b64e185dd1..045ff3978c 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -2402,7 +2402,7 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait) } set_low_priority(); - system(cmd); + i = system(cmd); exit(0); }