Fix regression where the client was not installed

This commit is contained in:
Aleksey Kladov 2021-03-05 11:12:40 +03:00
parent 16a76aa158
commit 97b1550dda

View file

@ -63,7 +63,7 @@ fn main() -> Result<()> {
let client_bin = flags.code_bin.map(|it| it.parse()).transpose()?;
InstallCmd {
client: if flags.server { None } else { client_bin },
client: if flags.server { None } else { Some(client_bin).unwrap_or_default() },
server: if flags.client { None } else { Some(ServerOpt { malloc }) },
}
.run()