summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/portable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klaptopdaemon/portable.cpp b/klaptopdaemon/portable.cpp
index 346a311..dbcb57c 100644
--- a/klaptopdaemon/portable.cpp
+++ b/klaptopdaemon/portable.cpp
@@ -304,7 +304,7 @@ readit:
char buff2[1024];
if (fgets(buff2, sizeof(buff), f) == NULL)
break;
- if (strstr(buff2, "tqStatus:") != NULL ||
+ if (strstr(buff2, "Status:") != NULL ||
strstr(buff2, "state:") != NULL) {
if (strstr(buff2, "on-line") != NULL) {
fclose(f);