summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/main.cpp')
-rw-r--r--src/other_tools/just_mr/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp
index 1d1e5a43..f35d92b4 100644
--- a/src/other_tools/just_mr/main.cpp
+++ b/src/other_tools/just_mr/main.cpp
@@ -36,6 +36,7 @@
#include "src/buildtool/logging/logger.hpp"
#include "src/buildtool/main/retry.hpp"
#include "src/buildtool/main/version.hpp"
+#include "src/buildtool/storage/config.hpp"
#include "src/buildtool/storage/garbage_collector.hpp"
#include "src/other_tools/just_mr/cli.hpp"
#include "src/other_tools/just_mr/exit_codes.hpp"
@@ -347,7 +348,7 @@ auto main(int argc, char* argv[]) -> int {
forward_build_root,
my_name);
}
- auto lock = GarbageCollector::SharedLock();
+ auto lock = GarbageCollector::SharedLock(StorageConfig::Instance());
if (not lock) {
return kExitGenericFailure;
}