Skip to content
Snippets Groups Projects
Commit f90aabd6 authored by Moe Jette's avatar Moe Jette
Browse files

Don't consider "." files for possible use a plugin.

parent cd49bc2d
No related branches found
No related tags found
No related merge requests found
......@@ -478,6 +478,7 @@ plugrack_read_dir( plugrack_t rack,
strcpy( tail, e->d_name );
/* Check only regular files. */
if ( strncmp(e->d_name, ".", 1) == 0) continue;
if ( stat( fq_path, &st ) < 0 ) continue;
if ( ! S_ISREG( st.st_mode ) ) continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment