This commit is contained in:
Eelco Dolstra 2018-08-06 17:27:08 +02:00
parent 7de3e00ad9
commit ed6c646f44
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -59,7 +59,7 @@ struct LegacySSHStore : public Store
{
auto conn = make_ref<Connection>();
conn->sshConn = master.startCommand(
fmt("command time %s --serve --write", remoteProgram)
fmt("%s --serve --write", remoteProgram)
+ (remoteStore.get() == "" ? "" : " --store " + shellEscape(remoteStore.get())));
conn->to = FdSink(conn->sshConn->in.get());
conn->from = FdSource(conn->sshConn->out.get());