wrap fork so we can drop priority in child processes

This commit is contained in:
Anthony Minessale committed 2012-10-01 13:38:45 -05:00
1 parent 0995d133a6
commit 52eff9451c
8 files changed
+31 -11

No files matched your search

@@ -3101,7 +3101,7 @@ int gsmopen_serial_getstatus_AT(private_t *tech_pvt)
DEBUGA_AT("incoming SMS message:---%s---\n", GSMOPEN_P_LOG, p->sms_message);
pipe(fd1);
pid1 = fork();
pid1 = switch_fork();
if (pid1 == 0) { //child
int err;