Skip to content
Snippets Groups Projects
Commit 10a6e598 authored by Anthony Minessale II's avatar Anthony Minessale II
Browse files

misplaced chdir call on moh DoH\!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 802dbe46
Branches
Tags
No related merge requests found
......@@ -388,9 +388,8 @@ static int spawn_mp3(struct mohclass *class)
}
}
/* Child */
if(class->custom) {
chdir(class->dir);
chdir(class->dir);
if(class->custom) {
execv(argv[0], argv);
} else {
/* Default install is /usr/local/bin */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment