aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-builds.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2025-01-15 14:13:47 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2025-01-15 14:13:47 +0200
commit2baa14d5e07095a5ce2d82f60806e34c20c4aa71 (patch)
tree61e1c9eb9800e07d531e971f42fd225502c0712f /mod/mod-builds.cxx
parent6ea1ad3b71eddb051c72fcfc335b84f00bcfac5f (diff)
Fix CI module initialization compiled with unloaded tenant service support
Diffstat (limited to 'mod/mod-builds.cxx')
-rw-r--r--mod/mod-builds.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx
index 0155c2e..b11b3d7 100644
--- a/mod/mod-builds.cxx
+++ b/mod/mod-builds.cxx
@@ -58,10 +58,10 @@ init (scanner& s)
{
database_module::init (*options_, options_->build_db_retry ());
build_config_module::init (*options_);
- }
- if (options_->root ().empty ())
- options_->root (dir_path ("/"));
+ if (options_->root ().empty ())
+ options_->root (dir_path ("/"));
+ }
}
template <typename T, typename C>