From a28331e0845bc0e219dac410efa90e1ce7f1e6b6 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 30 Jul 2018 23:06:05 +0300 Subject: [PATCH] Minor fixes for the script output --- kconfig-hardened-check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index ac9ee3a..791a2f8 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -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() -- 2.31.1