diff options
author | Sebastian Wiesinger <sebastian@karotte.org> | 2018-01-08 14:50:59 +0100 |
---|---|---|
committer | Sebastian Wiesinger <sebastian@karotte.org> | 2018-01-08 14:50:59 +0100 |
commit | c88acdd31db9cb6b8efd8b2ee8d75bb283b4f310 (patch) | |
tree | 9bbfa95a49a1992dadb7acfc6f79d551db15c99c | |
parent | 88df48f4a7b8f1b2d596508434e3b1aeb36f7d9a (diff) | |
download | spectre-meltdown-checker-c88acdd31db9cb6b8efd8b2ee8d75bb283b4f310.tar.lz spectre-meltdown-checker-c88acdd31db9cb6b8efd8b2ee8d75bb283b4f310.tar.xz spectre-meltdown-checker-c88acdd31db9cb6b8efd8b2ee8d75bb283b4f310.zip |
Remove superfluous 'YES' output when checking cpuinfo
-rwxr-xr-x | spectre-meltdown-checker.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 22239f3..1ae4ead 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -288,11 +288,9 @@ fi /bin/echo -n "* PTI enabled and active: " if grep ^flags /proc/cpuinfo | grep -qw pti; then # vanilla PTI patch sets the 'pti' flag in cpuinfo - pstatus green YES kpti_enabled=1 elif grep ^flags /proc/cpuinfo | grep -qw kaiser; then # kernel line 4.9 sets the 'kaiser' flag in cpuinfo - pstatus green YES kpti_enabled=1 elif [ -e /sys/kernel/debug/x86/pti_enabled ]; then # RedHat Backport creates a dedicated file, see https://access.redhat.com/articles/3311301 |