Skip to content

Commit 911dc11

Browse files
committed
WIP
1 parent a5ce361 commit 911dc11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/rabbitmq_prelaunch/src/rabbit_prelaunch_conf.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ find_additional_config_files(#{additional_config_files := Pattern})
164164
true -> filename:join(Pattern, "*");
165165
false -> Pattern
166166
end,
167-
lists:sort(filelib:wildcard(Pattern1));
167+
OnlyFiles = [File ||
168+
File <- filelib:wildcard(Pattern1),
169+
filelib:is_regular(File)],
170+
lists:sort(OnlyFiles);
168171
find_additional_config_files(_) ->
169172
[].
170173

0 commit comments

Comments
 (0)