parse: if profile is set, only show options relevant to the profile
[fio.git] / fio_generate_plots
index 4285415eac2879da04850369a6aab7a067c5518f..5e2febdac4810b93ad36dfb10774e78b7f886642 100755 (executable)
@@ -8,7 +8,7 @@ if [ "$1"x = "x" ]; then
 fi
 
 GNUPLOT=$(which gnuplot)
-if [ ! -x $GNUPLOT ]; then
+if [ ! -x "$GNUPLOT" ]; then
        echo You need gnuplot installed to generate graphs
        exit 1
 fi