aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2022-02-10 19:42:36 +0000
committerWarner Losh <imp@FreeBSD.org>2022-02-10 19:43:19 +0000
commitcb51e2bc3db7e266c26d8165243605f0be771e56 (patch)
treea10a1b37f54d5a512c8a334750f8098de571de4e /libexec
parentc96f70e7ac54ca9347d81672edb9538313b57fd1 (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc b/libexec/rc/rc
index f117125d2d82..f021251bbd81 100644
--- a/libexec/rc/rc
+++ b/libexec/rc/rc
@@ -137,7 +137,7 @@ done
# Note: this assumes firstboot_sentinel is on / when we have
# a read-only /, or that it is on media that's writable.
if [ -e ${firstboot_sentinel} ]; then
- checkyesno root_rw_mount && mount -uw /
+ checkyesno root_rw_mount || mount -uw /
chflags -R 0 ${firstboot_sentinel}
rm -rf ${firstboot_sentinel}
if [ -e ${firstboot_sentinel}-reboot ]; then