kill a warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@161354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Dwayne M. Hubbard
2008-12-05 16:51:17 +00:00
parent d0f53b09cf
commit ca75782a96

View File

@@ -28,6 +28,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
#include <errno.h>
#include <asterisk/compat.h> #include <asterisk/compat.h>
#ifdef SOLARIS #ifdef SOLARIS
@@ -394,7 +395,9 @@ static void rxqcheck (char *dir, char *queue, char *process)
setenv ("ud16", temp, 1); setenv ("ud16", temp, 1);
} }
/* run the command */ /* run the command */
system (process); if (system (process) == -1) {
fprintf(stderr, "Failed to fork process '%s'\n", process);
}
} }
closedir (d); closedir (d);
} }