mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-11-07 06:33:38 +01:00
Fix debugfs mount check
This commit is contained in:
parent
c792fa35bf
commit
b7197d6f54
@ -164,7 +164,7 @@ if [ "$insmod_msr" = 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/echo -n "* Kernel support for IBRS: "
|
/bin/echo -n "* Kernel support for IBRS: "
|
||||||
if [ -e /sys/kernel/debug/sched_features ]; then
|
if [ ! -e /sys/kernel/debug/sched_features ]; then
|
||||||
# try to mount the debugfs hierarchy ourselves and remember it to umount afterwards
|
# try to mount the debugfs hierarchy ourselves and remember it to umount afterwards
|
||||||
mount -t debugfs debugfs /sys/kernel/debug 2>/dev/null && mounted_debugfs=1
|
mount -t debugfs debugfs /sys/kernel/debug 2>/dev/null && mounted_debugfs=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user