mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: typo
This commit is contained in:
parent
d12ad1128e
commit
ff36154c4b
@ -66,7 +66,7 @@ void waybar::modules::Custom::continuousWorker() {
|
|||||||
if (!fp_) {
|
if (!fp_) {
|
||||||
throw std::runtime_error("Unable to open " + cmd);
|
throw std::runtime_error("Unable to open " + cmd);
|
||||||
}
|
}
|
||||||
thread_.sleep_for(std::chrono::seconds(config_["restart-interval"].asUInt());
|
thread_.sleep_for(std::chrono::seconds(config_["restart-interval"].asUInt()));
|
||||||
} else {
|
} else {
|
||||||
thread_.stop();
|
thread_.stop();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user