--- generator.c 2005-07-28 15:06:03.000000000 -0400 +++ generator.c 2006-01-18 22:26:59.000000000 -0500 @@ -241,7 +241,7 @@ dlen = strlen(fbuf); filt_array[cur_depth] = push_local_filters(fbuf, dlen); - if (link_stat(fbuf, &st, keep_dirlinks) < 0) + if (link_stat(fbuf, &st, keep_dirlinks) < 0 || !S_ISDIR(st.st_mode)) return; if (one_file_system) {