Fix systemd compilation & enable systemd on travis

pull/1139/head
Jason Rhinelander 4 years ago
parent 8f9cb83f9a
commit d5eed90a3c

@ -33,6 +33,7 @@ matrix:
- libuv1-dev
- ninja-build
- libsodium-dev
- libsystemd-dev
- name: "make release (linux/gcc)"
os: linux
compiler: gcc

@ -694,7 +694,8 @@ namespace llarp
hiddenServiceContext().ForEachService(
[&ss](const auto &name, const auto &ep) {
ss << " [" << name << " " << std::setprecision(4)
<< (100.0 * ep->CurrentBuildStats().SuccessRatio) << "%]";
<< (100.0 * ep->CurrentBuildStats().SuccessRatio()) << "%]";
return true;
});
}
const auto status = ss.str();

Loading…
Cancel
Save