Show
Ignore:
Timestamp:
09/08/08 14:03:17 (6 years ago)
Author:
khali
Message:

Only mention gnuplot if X is running.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig

    r5321 r5322  
    332332                fi 
    333333        else 
    334                 echo "Note: If you had $PLOTTER installed, I could generate a graphical plot." 
     334                if [ -n "$DISPLAY" ] 
     335                then 
     336                        echo "Note: If you had $PLOTTER installed, I could generate a graphical plot." 
     337                fi 
    335338        fi 
    336339