Skip to content
Snippets Groups Projects
Commit 11cac381 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix res_monitor asterisk issue (bug #3399)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0c304524
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment