openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
818 stars 251 forks source link

Error when setting up SD mirroring (mirror_sd) #1782

Closed jhazan-jpg closed 1 year ago

jhazan-jpg commented 1 year ago

e2fsck does not have a -U option, so the command always fails and the dirty flag is therefore set. It appears that this option has been mistakenly copied from the call to tune2fs on the next line of code.

https://github.com/openhab/openhabian/blob/c471f037438966f1eed75d3fc099c946b97e5873/functions/backup.bash#L422

mstormi commented 1 year ago

thanks for reporting so precisely