summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 9b72275..d3b1bb7 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -36,5 +36,5 @@ extern int lsmod_main(int argc, char **argv)
char *cmd[] = { "cat", "/proc/modules", "\0" };
#endif
- exit(cat_main(3, cmd));
+ return(cat_main(3, cmd));
}