diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/lsmod.c | 2 | ||||
-rw-r--r-- | modutils/rmmod.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 9b72275cd..d3b1bb79e 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)); } diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 5ef4a60f8..a73d789f2 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -75,5 +75,5 @@ extern int rmmod_main(int argc, char **argv) } argv++; } - exit(TRUE); + return(TRUE); } |