Skip to content
Snippets Groups Projects
Commit 0b1df98c authored by Sean Bright's avatar Sean Bright
Browse files

Pay attention to the return value of system(), even if we basically ignore it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@160170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent fc547b5f
No related branches found
No related tags found
No related merge requests found
......@@ -399,7 +399,9 @@ static void rxqcheck (char *dir, char *queue, char *process)
setenv ("ud16", tmp, 1);
}
/* run the command */
system (process);
if (system (process) == -1) {
fprintf(stderr, "Failed to fork process '%s'\n", process);
}
}
closedir (d);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment