home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3657f7f
)
Fix whitespace
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 12 Aug 2018 18:45:38 +0000
(14:45 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 12 Aug 2018 18:45:38 +0000
(14:45 -0400)
bin/khatus_controller
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_controller
b/bin/khatus_controller
index
da1c84d
..
c4a6cfd
100755
(executable)
--- a/
bin/khatus_controller
+++ b/
bin/khatus_controller
@@
-3,12
+3,12
@@
/^OK/ { debug("OK line", $0) }
/^ERROR/ {
-
debug("ERROR line", $0)
-
shift()
-
msg_head = $1
-
shift()
-
msg_body = $0
-
alert_trigger_hi(msg_head, "KhatusSensorError", msg_body)
+ debug("ERROR line", $0)
+ shift()
+ msg_head = $1
+ shift()
+ msg_body = $0
+ alert_trigger_hi(msg_head, "KhatusSensorError", msg_body)
}
/^OK in:ENERGY battery/\
This page took
0.022257 seconds
and
4
git commands to generate.