fix: typo

This commit is contained in:
Alex 2020-03-25 22:31:04 +01:00
parent d12ad1128e
commit ff36154c4b

View File

@ -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();
} }