diff options
Diffstat (limited to 'plugins/dfxvideo')
| -rw-r--r-- | plugins/dfxvideo/cfg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/dfxvideo/cfg.c b/plugins/dfxvideo/cfg.c index 458cde09..5c545240 100644 --- a/plugins/dfxvideo/cfg.c +++ b/plugins/dfxvideo/cfg.c @@ -19,6 +19,8 @@ #include <sys/stat.h> #include <unistd.h> +#include <stdlib.h> + #undef FALSE #undef TRUE #define MAKELONG(low,high) ((unsigned long)(((unsigned short)(low)) | (((unsigned long)((unsigned short)(high))) << 16))) @@ -172,6 +174,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } @@ -180,6 +183,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } @@ -188,6 +192,7 @@ void ExecCfg(char *arg) { if (stat(cfg, &buf) != -1) { if (fork() == 0) { execl(cfg, "cfgDFXVideo", arg, NULL); + exit(0); } return; } |
