mirror of
https://github.com/brain-hackers/brain-config.git
synced 2026-10-13 17:58:33 +09:00
Fix incorrect detection of read-only boot partition
This commit is contained in:
1 parent
f2ed068292
commit
d3fe4e7058
1 file changed
+1
-1
+1
-1
@@ -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