diff --git a/plugins/sensors/turbostat_ b/plugins/sensors/turbostat_ index da5905ff..579aff5b 100755 --- a/plugins/sensors/turbostat_ +++ b/plugins/sensors/turbostat_ @@ -195,6 +195,10 @@ case $1 in fi ;; *) + if ! turbostat_exists; then + exit 1 + fi + GRAPH_TYPE=${0##*turbostat_} for TYPE in "${SUPPORTED_GRAPH_TYPES[@]}"; do