diff options
author | Patrick Jackson <patrick@jackson.dev> | 2022-11-04 10:49:44 -0700 |
---|---|---|
committer | Patrick Jackson <patrick@jackson.dev> | 2022-11-04 10:49:44 -0700 |
commit | 907f52c3376ea764e3fd143fe48c0bbb8958ef22 (patch) | |
tree | 14b42d955edd0211a40504143586ad37a983b6c2 /src/build-remote | |
parent | 499e99d099ec513478a2d3120b2af3a16d9ae49d (diff) |
build-remote: Add brackets to error message
Diffstat (limited to 'src/build-remote')
-rw-r--r-- | src/build-remote/build-remote.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index ff8ba2724..6b81ecc49 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -186,12 +186,12 @@ static int main_build_remote(int argc, char * * argv) // build the hint template. std::string errorText = "Failed to find a machine for remote build!\n" - "derivation: %s\nrequired (system, features): (%s, %s)"; + "derivation: %s\nrequired (system, features): (%s, [%s])"; errorText += "\n%s available machines:"; errorText += "\n(systems, maxjobs, supportedFeatures, mandatoryFeatures)"; for (unsigned int i = 0; i < machines.size(); ++i) - errorText += "\n(%s, %s, %s, %s)"; + errorText += "\n([%s], %s, [%s], [%s])"; // add the template values. std::string drvstr; |