mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +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