fix template exit condition

This commit is contained in:
Christopher Laprise 2019-08-14 01:18:54 -04:00
parent b203c69a3c
commit e385fa995b
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

@ -133,13 +133,16 @@ if qsvc vm-boot-protect || qsvc vm-boot-protect-root; then
fi fi
fi fi
# Don't bother with root protections in template or standalone # Begin exit if in template or standalone
if ! is_rwonly_persistent; then if ! is_rwonly_persistent; then
make_immutable make_immutable
exit 0
fi fi
fi fi
# Exit if in template or standalone
if ! is_rwonly_persistent; then
exit 0
fi
# Protection measures for /rw dirs: # Protection measures for /rw dirs: