diff --git a/install/install.py b/install/install.py index d4e5ff280..7896a6797 100755 --- a/install/install.py +++ b/install/install.py @@ -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) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 4b1fdd54b..1c785a0e0 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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)