mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
FS-3779 --resolve hopefully this is ok
This commit is contained in:
1 parent
691f7935e7
commit
377fb37168
1 file changed
+3
-1
+3
-1
@@ -2473,7 +2473,9 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
|
||||
switch_close_extra_files(NULL, 0);
|
||||
|
||||
set_low_priority();
|
||||
system(dcmd);
|
||||
if (system(dcmd) == -1) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Failed to execute because of a command error : %s\n", dcmd);
|
||||
}
|
||||
free(dcmd);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user