projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed checking of the thread creation.
[psensor.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
811893c
..
258b58b
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-593,7
+593,7
@@
int main(int argc, char **argv)
ret = pthread_create(&thread, NULL, update_measures, &ui);
- if (
!
ret)
+ if (ret)
log_err(_("Failed to create thread for monitoring sensors"));
ui.graph_update_interval = ui.config->graph_update_interval;