We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d30ee commit 702f202Copy full SHA for 702f202
src/platform/backends/qemu/dnsmasq_server.cpp
@@ -166,7 +166,7 @@ void mp::DNSMasqServer::start_dnsmasq()
166
throw std::runtime_error(
167
fmt::format("Multipass dnsmasq failed to start: {}", dnsmasq_daemon_fork_state.error.value().message));
168
}
169
- else if (dnsmasq_daemon_fork_state.exit_code != 0)
+ else if (dnsmasq_daemon_fork_state.exit_code && dnsmasq_daemon_fork_state.exit_code.value() != 0)
170
{
171
// exit_code == 2 signifies dnsmasq network-related error. See `man dnsmasq`.
172
0 commit comments