forked from Mirror/pmbootstrap
Fix #107: Meaningful error for grsecurity/chroot_deny_chmod
This commit is contained in:
parent
10fd0f312d
commit
05e79c1d5c
2 changed files with 44 additions and 0 deletions
|
@ -34,6 +34,7 @@ import pmb.chroot.initfs
|
|||
import pmb.chroot.other
|
||||
import pmb.flasher
|
||||
import pmb.helpers.logging
|
||||
import pmb.helpers.other
|
||||
import pmb.helpers.run
|
||||
import pmb.parse
|
||||
import pmb.install
|
||||
|
@ -46,6 +47,9 @@ def main():
|
|||
|
||||
# Wrap everything to display nice error messages
|
||||
try:
|
||||
# Sanity check
|
||||
pmb.helpers.other.check_grsec()
|
||||
|
||||
# Initialize or require config
|
||||
if args.action == "init":
|
||||
return pmb.config.init(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue