2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

Only mention gnuplot if X is running.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5322 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2008-09-08 12:03:17 +00:00
parent 38b2843d60
commit 01e44478ce

View File

@@ -331,7 +331,10 @@ function pwmdetail()
PLOT=y
fi
else
echo "Note: If you had $PLOTTER installed, I could generate a graphical plot."
if [ -n "$DISPLAY" ]
then
echo "Note: If you had $PLOTTER installed, I could generate a graphical plot."
fi
fi
if [ "$PLOT" = "y" ]