Skip to content

Commit

Permalink
[Storage]
Browse files Browse the repository at this point in the history
* remove old devices from fstab after format
  • Loading branch information
jbleyel committed Jan 4, 2025
1 parent 685bf2d commit ce0e2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/Storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def check(self):
if not newuuid:
for i, line in enumerate(fstab):
if line.find(f"UUID={olduuid}") != -1:
fstab[i] = f"#{line}"
fstab[i] = ""
print(f"[UUIDTask] fstab UUID {olduuid} removed")
saveFstab = True
break
Expand Down

0 comments on commit ce0e2ab

Please sign in to comment.