Preceding call to ups_status_set() already handles it.
Signed-off-by: Michal Soltys <[email protected]>
---
drivers/apcsmart.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/apcsmart.c b/drivers/apcsmart.c
index f0f1878..917d261 100644
--- a/drivers/apcsmart.c
+++ b/drivers/apcsmart.c
@@ -441,7 +441,6 @@ static int update_status(void)
ups_status = strtol(buf, 0, 16) & 0xff;
ups_status_set();
- status_commit();
dstate_dataok();
return 1;
--
1.7.2.1
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev