Don't use the system log when generating a CGI script. This is is

normally done by a human on a console, rather than in the background,
so the system log isn't where people would look for error messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5734 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2009-06-09 12:19:53 +00:00
1 parent cae8b2a1e7
commit 098ae6d2e5
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ SVN-HEAD
Using sigaction for signal handlers
Convert to linux coding style
Cleanup and refactoring of the source code
Don't use the system log when generating a CGI script
sensors-detect: Add nNidia nForce MCP78S SMBus detection
Display Super-I/O address even if LD is disabled
Differentiate between PC8374L and WPCD377I
+2 -1
View File
@@ -236,7 +236,8 @@ int main(int argc, char **argv)
if (loadLib(sensord_args.cfgFile))
exit(EXIT_FAILURE);
openLog();
if (!sensord_args.doCGI)
openLog();
if (sensord_args.rrdFile) {
ret = rrdInit();