Minor fixes for the script output
authorAlexander Popov <alex.popov@linux.com>
Mon, 30 Jul 2018 20:06:05 +0000 (23:06 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 30 Jul 2018 20:06:05 +0000 (23:06 +0300)
kconfig-hardened-check.py

index ac9ee3ac2ebf27e86b48453303222ae16f90cd49..791a2f8b6c921e9492f1ffaa36ee6b9499dccaec 100755 (executable)
@@ -216,10 +216,10 @@ def print_checklist():
     print('[+] Printing kernel hardening preferences...')
     print('  {:<39}|{:^13}|{:^10}|{:^20}'.format(
         'option name', 'desired val', 'decision', 'reason'))
-    print('  ' + '=' * 88)
+    print('  ' + '=' * 86)
     for opt in checklist:
         print('  CONFIG_{:<32}|{:^13}|{:^10}|{:^20}'.format(
-                opt.name, opt.expected, opt.decision, opt.reason))
+            opt.name, opt.expected, opt.decision, opt.reason))
     print()