Update internal.h to conditionally include asm/string.h
[oweals/busybox.git] / lsmod.c
diff --git a/lsmod.c b/lsmod.c
index 27fabc1feee08c760ec8d1fe02fa777dcbe5249a..d3b1bb79eb08707895340d15d14c8898c98ce62e 100644 (file)
--- a/lsmod.c
+++ b/lsmod.c
@@ -2,7 +2,7 @@
 /*
  * Mini lsmod implementation for busybox
  *
- * Copyright (C) 1999 by Lineo, inc.
+ * Copyright (C) 1999,2000 by Lineo, inc.
  * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -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));
 }