mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user