diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-08-06T15·27+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-08-06T15·27+0200 |
commit | ed6c646f44e5b9e0fcbc53058491e97875a263c2 (patch) | |
tree | e259b71b4c998c5b0614835a64e9501cfc51b3af /src/libstore/legacy-ssh-store.cc | |
parent | 7de3e00ad905bba85abadd86b83973fdba8d0dfd (diff) |
Doh
Diffstat (limited to 'src/libstore/legacy-ssh-store.cc')
-rw-r--r-- | src/libstore/legacy-ssh-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/legacy-ssh-store.cc b/src/libstore/legacy-ssh-store.cc index ddfd17d641bc..7c214f09d6fb 100644 --- a/src/libstore/legacy-ssh-store.cc +++ b/src/libstore/legacy-ssh-store.cc @@ -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()); |