summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtables.c b/xtables.c
index 41e0b871..45201248 100644
--- a/xtables.c
+++ b/xtables.c
@@ -331,7 +331,7 @@ int xtables_insmod(const char *modname, const char *modprobe, bool quiet)
*/
fflush(stdout);
- switch (fork()) {
+ switch (vfork()) {
case 0:
argv[0] = (char *)modprobe;
argv[1] = (char *)modname;