diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03T16·25+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-03T16·25+0000 |
commit | f4279bcde0934c221df081c366c8fc776aa2be99 (patch) | |
tree | 96c6a1e8fc8ed6def802b86995abfc26da177654 /src/libstore/remote-store.cc | |
parent | 35247c4c9f55fd49d8838b0df963016fdcde0420 (diff) |
* Don't run setuid root when build-users is empty.
* Send startup errors to the client.
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r-- | src/libstore/remote-store.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index f1d226fb8b02..0ed96bd23976 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -73,6 +73,7 @@ RemoteStore::RemoteStore() /* Send the magic greeting, check for the reply. */ try { + processStderr(); writeInt(WORKER_MAGIC_1, to); unsigned int magic = readInt(from); if (magic != WORKER_MAGIC_2) throw Error("protocol mismatch"); |