Skip to content

Commit

Permalink
Minor code reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Feb 14, 2024
1 parent 1f4516e commit fd69273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/y2storage/storage_env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ def luks2_available?
def requested_lvm_reuse
value = read(ENV_REUSE_LVM)

return env_str_to_bool(value) if value
return nil if !value

nil
env_str_to_bool(value)
end

# Whether errors during libstorage probing should be ignored.
Expand Down

0 comments on commit fd69273

Please sign in to comment.