Skip to content

Commit

Permalink
bug fix: contabo on quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Sep 20, 2024
1 parent b978195 commit 598c446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def edit_fstab(self,mount_point, options_to_add):
elif parts[1] == '/':

for ii, p in enumerate(parts):
if p.find('defaults') > -1 or p.find('discard') > -1:
if p.find('defaults') > -1 or p.find('discard') > -1 or p.find('errors=') > -1:
parts[ii] = f'{parts[ii]},{options_to_add}'
tempParts = [item for item in parts if item.strip()]
finalString = '\t'.join(tempParts)
Expand Down
2 changes: 1 addition & 1 deletion plogical/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -3671,7 +3671,7 @@ def edit_fstab(mount_point, options_to_add):
elif parts[1] == '/':

for ii, p in enumerate(parts):
if p.find('defaults') > -1 or p.find('discard') > -1:
if p.find('defaults') > -1 or p.find('discard') > -1 or p.find('errors=') > -1:
parts[ii] = f'{parts[ii]},{options_to_add}'
tempParts = [item for item in parts if item.strip()]
finalString = '\t'.join(tempParts)
Expand Down

0 comments on commit 598c446

Please sign in to comment.