diff --git a/res/res_monitor.c b/res/res_monitor.c index 3f85b1f1e6c7886e66f4c98d6232fbd2b6403036..2f028ca935b7743580b190eab6db384f555355c7 100755 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -235,7 +235,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 &", execute, dir, name, format, dir, name, format, dir, name, format); if (soxmix) { - 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_verbose("monitor executing %s\n",tmp);