Merge branch 'battery-retry-on-failure'

Closes #44
This commit is contained in:
Daniel Eklöf 2021-06-12 21:44:28 +02:00
commit 914cea1b14
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 3 deletions

View file

@ -20,6 +20,9 @@
* fcft >= 2.4.0 is now required.
* sway-xkb: non-keyboard inputs are now ignored
(https://codeberg.org/dnkl/yambar/issues/51).
* battery: dont terminate (causing last status to “freeze”) when
failing to update; retry again later
(https://codeberg.org/dnkl/yambar/issues/44).
### Deprecated

View file

@ -434,9 +434,8 @@ run(struct module *mod)
continue;
}
if (!update_status(mod))
break;
bar->refresh(bar);
if (update_status(mod))
bar->refresh(bar);
}
out: