aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-01 23:41:16 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-01 23:41:16 +0000
commit01b53f1cd1b3e9617ca5c7386f3a2ace8f923e3e (patch)
tree71487e5fa82bf035b3453f886c3a80d8a81ee2b4 /utils
parentf24bbeafbb2a2b01f09e018339b875e650870392 (diff)
Merged revisions 160170-160172 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r160170 | seanbright | 2008-12-01 18:08:24 -0500 (Mon, 01 Dec 2008) | 1 line Pay attention to the return value of system(), even if we basically ignore it. ................ r160171 | seanbright | 2008-12-01 18:18:48 -0500 (Mon, 01 Dec 2008) | 1 line Silence a build warning. (chan_phone.c:810: warning: value computed is not used) ................ r160172 | seanbright | 2008-12-01 18:37:49 -0500 (Mon, 01 Dec 2008) | 10 lines Merged revisions 159976 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r159976 | mvanbaak | 2008-12-01 11:08:36 -0500 (Mon, 01 Dec 2008) | 3 lines Get rid of the useless format string and argument in the Bogus/ manager channelname. Noted by kpfleming and name Bogus/manager suggested by eliel ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@160173 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/smsq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/smsq.c b/utils/smsq.c
index af8238c84..a55a71225 100644
--- a/utils/smsq.c
+++ b/utils/smsq.c
@@ -400,7 +400,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);
}