Commit a28331e0 by Alexander Popov

Minor fixes for the script output

parent 39077d81
...@@ -216,10 +216,10 @@ def print_checklist(): ...@@ -216,10 +216,10 @@ def print_checklist():
print('[+] Printing kernel hardening preferences...') print('[+] Printing kernel hardening preferences...')
print(' {:<39}|{:^13}|{:^10}|{:^20}'.format( print(' {:<39}|{:^13}|{:^10}|{:^20}'.format(
'option name', 'desired val', 'decision', 'reason')) 'option name', 'desired val', 'decision', 'reason'))
print(' ' + '=' * 88) print(' ' + '=' * 86)
for opt in checklist: for opt in checklist:
print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}'.format( print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}'.format(
opt.name, opt.expected, opt.decision, opt.reason)) opt.name, opt.expected, opt.decision, opt.reason))
print() print()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment