Skip to content

Commit

Permalink
fix the latest change when /etc/agama.yaml can be missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 7, 2023
1 parent 9b67fbe commit 26b91aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/lib/agama/config_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def config_paths
paths.uniq! { |f| File.basename(f) }
# Sort files lexicographic
paths.sort_by! { |f| File.basename(f) }
paths.prepend(default_path)
paths.prepend(default_path) if File.exist?(default_path)

paths
end
Expand Down

0 comments on commit 26b91aa

Please sign in to comment.