mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
MODAPP-138 with tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9459 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f273047342
commit
ce9d7576fa
2 files changed
+19
-1
No files matched your search
@@ -1185,7 +1185,7 @@ SWITCH_STANDARD_APP(fax_detect_session_function)
|
||||
SWITCH_STANDARD_APP(system_session_function)
|
||||
{
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Executing command: %s\n", data);
|
||||
if (!system(data)) {
|
||||
if (system(data) < 0) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Failed to execute command: %s\n", data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user