projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
802dbe4
)
misplaced chdir call on moh DoH\!
author
Anthony Minessale II
<anthmct@yahoo.com>
Sun, 26 Dec 2004 00:33:17 +0000
(
00:33
+0000)
committer
Anthony Minessale II
<anthmct@yahoo.com>
Sun, 26 Dec 2004 00:33:17 +0000
(
00:33
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4555
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_musiconhold.c
patch
|
blob
|
history
diff --git
a/res/res_musiconhold.c
b/res/res_musiconhold.c
index
470f7ff
..
fa202a1
100755
(executable)
--- a/
res/res_musiconhold.c
+++ b/
res/res_musiconhold.c
@@
-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 */