* Handle error messages from the Nix worker containing the `%'
character. (Nix/216)
This commit is contained in:
parent
4ba6afaf48
commit
8c69dac8a1
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void RemoteStore::processStderr(Sink * sink, Source * source)
|
|||
if (msg == STDERR_ERROR) {
|
||||
string error = readString(from);
|
||||
unsigned int status = GET_PROTOCOL_MINOR(daemonVersion) >= 8 ? readInt(from) : 1;
|
||||
throw Error(error, status);
|
||||
throw Error(format("%1%") % error, status);
|
||||
}
|
||||
else if (msg != STDERR_LAST)
|
||||
throw Error("protocol error processing standard error");
|
||||
|
|
Loading…
Reference in a new issue