From 3914365547155da9c6a79de92af2d42c87e159d9 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 9 Jan 2008 11:01:44 +0000 Subject: [PATCH] Fix duplicate warning message when configuration file is broken. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5103 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/pwm/pwmconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index f39e7c41..bea6be75 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ SVN Deal gracefully with read-only pwm_enable files Warn about outputs found in automatic mode Repeat available configuration options before prompt (#2289) + Fix duplicate warning message when config file is broken fancontrol: Detect improperly formatted FCTEMPS value (#2293) sensord: Fix rrd support (#2276) Use the same colors for daily and weekly charts diff --git a/prog/pwm/pwmconfig b/prog/pwm/pwmconfig index c5dfca47..e5e3907a 100755 --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -552,6 +552,7 @@ function LoadConfig { MINSTOP="" MINPWM="" MAXPWM="" + return 0 fi done }