aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/pending/modprobe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/pending/modprobe.c b/toys/pending/modprobe.c
index 5431cb35..12d2d783 100644
--- a/toys/pending/modprobe.c
+++ b/toys/pending/modprobe.c
@@ -381,7 +381,6 @@ static int ins_mod(char *modules, char *flags)
}
res = syscall(__NR_init_module, buf, len, toybuf);
if (CFG_TOYBOX_FREE && buf != toybuf) free(buf);
- if (res) perror_exit("failed to load %s ", toys.optargs[0]);
return res;
}