summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/wmii-hg/rbar_clock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/.config/wmii-hg/rbar_clock.c b/.config/wmii-hg/rbar_clock.c
index 79ddff3..e5556b0 100644
--- a/.config/wmii-hg/rbar_clock.c
+++ b/.config/wmii-hg/rbar_clock.c
@@ -47,10 +47,7 @@ int update(const char *id) {
"label %a %F %T %Z(%z)", /* apparently %:::z" is supported by date(1gnu) but not strftime(3gnu) */
localtime(&now.tv_sec)) <= 0)
error(1, 0, "strftime wanted a really long string");
- if (!rbar_write(id, str)) {
- error(0, errno, "all rbars have disappeared");
- return 0;
- }
+ rbar_write(id, str);
}
}