Skip to content

Commit

Permalink
check file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 23, 2024
1 parent fd4d6af commit 72e2371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/systemdboot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def read

lines = ""
filename = File.join(Yast::Installation.destdir, CMDLINE)
if File.exists?(filename)
if File.exist?(filename)
File.open(filename).each do |line|
lines =+ line
end
Expand Down

0 comments on commit 72e2371

Please sign in to comment.