mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -28,6 +28,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <asterisk/compat.h>
|
||||
#ifdef SOLARIS
|
||||
@@ -394,7 +395,9 @@ static void rxqcheck (char *dir, char *queue, char *process)
|
||||
setenv ("ud16", temp, 1);
|
||||
}
|
||||
/* run the command */
|
||||
system (process);
|
||||
if (system (process) == -1) {
|
||||
fprintf(stderr, "Failed to fork process '%s'\n", process);
|
||||
}
|
||||
}
|
||||
closedir (d);
|
||||
}
|
||||
|
Reference in New Issue
Block a user