about summary refs log tree commit diff
path: root/afl-plot
diff options
context:
space:
mode:
Diffstat (limited to 'afl-plot')
-rwxr-xr-xafl-plot2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-plot b/afl-plot
index b17af364..6ad3f790 100755
--- a/afl-plot
+++ b/afl-plot
@@ -68,7 +68,7 @@ BANNER="`cat "$1/fuzzer_stats" | grep '^afl_banner ' | cut -d: -f2- | cut -b2-`"
 
 test "$BANNER" = "" && BANNER="(none)"
 
-GNUPLOT=`type gnuplot | awk '{print $NF}' 2>/dev/null`
+GNUPLOT=`command -v gnuplot 2>/dev/null`
 
 if [ "$GNUPLOT" = "" ]; then