summaryrefslogtreecommitdiff
path: root/plugins/dfsound/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfsound/cfg.c')
-rw-r--r--plugins/dfsound/cfg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dfsound/cfg.c b/plugins/dfsound/cfg.c
index 142494f9..35bef18e 100644
--- a/plugins/dfsound/cfg.c
+++ b/plugins/dfsound/cfg.c
@@ -45,6 +45,7 @@ void StartCfgTool(char * pCmdLine)
{
chdir("cfg");
execl(filename,"cfgDFSound",pCmdLine,NULL);
+ exit(0);
}
}
else
@@ -57,6 +58,7 @@ void StartCfgTool(char * pCmdLine)
if(fork()==0)
{
execl(filename,"cfgDFSound",pCmdLine,NULL);
+ exit(0);
}
}
else
@@ -70,6 +72,7 @@ void StartCfgTool(char * pCmdLine)
{
chdir(getenv("HOME"));
execl(filename,"cfgDFSound",pCmdLine,NULL);
+ exit(0);
}
}
else printf("Sound error: cfgDFSound not found!\n");