mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Log the error code on failure, to make it easier to investigate
problems. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4887 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b68b3428ca
commit
bdf62a3854
2 files changed
+5
-1
No files matched your search
@@ -24,6 +24,7 @@ SVN HEAD
|
|||||||
Fix a memory leak when daemonizing
|
Fix a memory leak when daemonizing
|
||||||
Fix memory leaks in command line parsing
|
Fix memory leaks in command line parsing
|
||||||
Add w83793 support
|
Add w83793 support
|
||||||
|
Log the error code on failure
|
||||||
Program sensors: Fix a memory leak on error (with -u)
|
Program sensors: Fix a memory leak on error (with -u)
|
||||||
Add sch311x support
|
Add sch311x support
|
||||||
Hide error on missing dme1737 fan and pwm
|
Hide error on missing dme1737 fan and pwm
|
||||||
|
|||||||
@@ -117,7 +117,10 @@ sensord
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sensorLog (LOG_INFO, "sensord %s", ret ? "failed" : "stopped");
|
if (ret)
|
||||||
|
sensorLog (LOG_INFO, "sensord failed (%d)", ret);
|
||||||
|
else
|
||||||
|
sensorLog (LOG_INFO, "sensord stopped");
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user