mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-10-15 04:38:41 +09:00
Fix incorrect detection of read-only boot partition
This commit is contained in:
@@ -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 $?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user