summaryrefslogtreecommitdiff
path: root/apps/app_zapras.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_zapras.c')
-rw-r--r--apps/app_zapras.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_zapras.c b/apps/app_zapras.c
index 6057c8603..6191327b2 100644
--- a/apps/app_zapras.c
+++ b/apps/app_zapras.c
@@ -162,8 +162,7 @@ static void run_ras(struct ast_channel *chan, char *args)
if (!res) {
/* Check for hangup */
if (chan->_softhangup && !signalled) {
- if (option_debug)
- ast_log(LOG_DEBUG, "Channel '%s' hungup. Signalling RAS at %d to die...\n", chan->name, pid);
+ ast_debug(1, "Channel '%s' hungup. Signalling RAS at %d to die...\n", chan->name, pid);
kill(pid, SIGTERM);
signalled=1;
}