aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-25 11:30:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-03-25 11:30:51 +0200
commitb476cc01c98885bb40c6b118dfda57dea08d5a4b (patch)
treeba78f69abbbb7b6deb2075e34cab09a3a72b8ddb
parentd5f769f2fc3fed6fe2a0a27b97e9b83bcc7d2960 (diff)
Fix insufficient RAM detection logic bug in bbot-agent
-rw-r--r--bbot/agent/agent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx
index 5278eba..5e7ba65 100644
--- a/bbot/agent/agent.cxx
+++ b/bbot/agent/agent.cxx
@@ -1325,7 +1325,7 @@ try
// Skip machines for which we don't have sufficient RAM.
//
- if (effective_ram_minimum (mm) <
+ if (effective_ram_minimum (mm) >
(aux ? ops.auxiliary_ram () : ops.build_ram ()))
{
l3 ([&]{trace << "skipping " << md << ": insufficient RAM";});