aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-21 21:24:26 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-21 21:24:26 +0000
commit11c98672c8d46a72fec782db834417f0a137ce86 (patch)
treeeed1958811fb014578378f5852df7ee6f8357403 /res/res_monitor.c
parent7288b1ced025365d36d24c6a9f034d5a7c8ebcf2 (diff)
Fix res_monitor asterisk issue (bug #3399)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4869 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rwxr-xr-xres/res_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index d3d85f6ad..02c158362 100755
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -251,7 +251,7 @@ int ast_monitor_stop(struct ast_channel *chan, int need_lock)
snprintf(tmp, sizeof(tmp), "%s \"%s/%s-in.%s\" \"%s/%s-out.%s\" \"%s/%s.%s\" %s &", execute, dir, name, format, dir, name, format, dir, name, format,execute_args);
if (delfiles) {
- snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s/%s-*\" ) &",tmp, dir ,name); /* remove legs when done mixing */
+ snprintf(tmp2,sizeof(tmp2), "( %s& rm -f \"%s/%s-\"* ) &",tmp, dir ,name); /* remove legs when done mixing */
strncpy(tmp, tmp2, sizeof(tmp) - 1);
}
ast_log(LOG_DEBUG,"monitor executing %s\n",tmp);