Fix incorrect detection of read-only boot partition

This commit is contained in:
Simon Long 2022-03-21 12:04:41 +00:00
parent f2ed068292
commit d3fe4e7058

View File

@ -2466,7 +2466,7 @@ get_bootro_now() {
}
get_bootro_conf() {
grep /boot /etc/fstab | grep -q "defaults.*,ro "
grep /boot /etc/fstab | grep -q "defaults.*,ro[ ,]"
echo $?
}