Skip to content

Commit

Permalink
Merge remote-tracking branch 'master' into jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
fourdollars committed May 23, 2022
2 parents 0b54de3 + d2132e5 commit 44079be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dell/recovery_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def _test_for_new_dell_recovery(self, mount, assembly_tmp):
file_path = os.path.join(mount, '.disk', info)
if os.path.exists(file_path):
with open(file_path) as rfd:
rp_distro = rfd.readline().split()[2].strip('"').lower()
rp_distro = rfd.readline().split('"')[1].split()[0].lower()
break

if rp_distro in package_distro:
Expand Down

0 comments on commit 44079be

Please sign in to comment.