kmodloader: remove redundant glob wildcard char
[project/ubox.git] / kmodloader.c
index f80835a7f942ba80a71fb6f44b263055fbf2de8b..9fe7d7f56cbd1c6677b2fe86744165ef5e87301e 100644 (file)
@@ -762,7 +762,7 @@ static int main_modprobe(int argc, char **argv)
 static int main_loader(int argc, char **argv)
 {
        int gl_flags = GLOB_NOESCAPE | GLOB_MARK;
-       char *dir = "/etc/modules.d/*";
+       char *dir = "/etc/modules.d/";
        struct module *m;
        glob_t gl;
        char *path;