mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-07-11 17:29:20 -04:00
fix template exit condition
This commit is contained in:
parent
b203c69a3c
commit
e385fa995b
1 changed files with 5 additions and 2 deletions
|
@ -133,13 +133,16 @@ if qsvc vm-boot-protect || qsvc vm-boot-protect-root; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Don't bother with root protections in template or standalone
|
||||
# Begin exit if in template or standalone
|
||||
if ! is_rwonly_persistent; then
|
||||
make_immutable
|
||||
exit 0
|
||||
fi
|
||||
|
||||
fi
|
||||
# Exit if in template or standalone
|
||||
if ! is_rwonly_persistent; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# Protection measures for /rw dirs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue