We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f2da79 commit 9034e1fCopy full SHA for 9034e1f
1 file changed
src/mbpfan.c
@@ -222,7 +222,7 @@ t_sensors *retrieve_sensors()
222
}
223
224
225
- if (!sensors_found > 0){
+ if (sensors_found == 0){
226
syslog(LOG_CRIT, "mbpfan could not detect any temp sensor. Please contact the developer.\n");
227
printf("mbpfan could not detect any temp sensor. Please contact the developer.\n");
228
exit(EXIT_FAILURE);
0 commit comments