mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-10-01 06:35:42 -04:00
fix template exit condition
This commit is contained in:
parent
b203c69a3c
commit
e385fa995b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user