aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-06 17:27:08 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-06 17:27:08 +0200
commited6c646f44e5b9e0fcbc53058491e97875a263c2 (patch)
treee259b71b4c998c5b0614835a64e9501cfc51b3af /src
parent7de3e00ad905bba85abadd86b83973fdba8d0dfd (diff)
Doh
Diffstat (limited to 'src')
-rw-r--r--src/libstore/legacy-ssh-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/legacy-ssh-store.cc b/src/libstore/legacy-ssh-store.cc
index ddfd17d64..7c214f09d 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());