Add error message for missing intel_rapl file
This commit is contained in:
parent
d7a41e818b
commit
caef0fe1d4
|
@ -283,6 +283,11 @@ gui_handler() {
|
|||
fi
|
||||
}
|
||||
|
||||
if ! ls $pl1_path > /dev/null 2>&1 || ! ls $pl2_path > /dev/null 2>&1; then
|
||||
echo "Could not find intel_rapl endpoints, are you using a GPD Win 3?"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Command handler
|
||||
# This checks which command was entered and forwards all other arguments to it
|
||||
case $1 in
|
||||
|
|
Loading…
Reference in New Issue