mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-11-05 17:58:04 +09:00
Fix incorrect detection of read-only boot partition
This commit is contained in:
parent
f2ed068292
commit
d3fe4e7058
@ -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 $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user