summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/dfnet/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfnet/unix.c b/plugins/dfnet/unix.c
index 75e2c1e6..390a5fc3 100644
--- a/plugins/dfnet/unix.c
+++ b/plugins/dfnet/unix.c
@@ -27,7 +27,7 @@ int ExecCfg(const char *arg, int f) {
strcat(cfg, arg);
if (f) {
- if (fork() == 0) system(cfg);
+ if (fork() == 0) { system(cfg); exit(0); }
return 0;
}