diff options
Diffstat (limited to 'internal/manager')
| -rw-r--r-- | internal/manager/manager.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/manager/manager.go b/internal/manager/manager.go index 270b99e..29bd229 100644 --- a/internal/manager/manager.go +++ b/internal/manager/manager.go @@ -49,6 +49,10 @@ func (m *Manager) Bootstrap(cfg *config.Config) error { return nil } + if err := m.NS.CheckSystemRequirements(); err != nil { + return fmt.Errorf("system check failed: %w", err) + } + // Preserve the host runtime base dir in the environment before bootstrapping. _ = os.Setenv("WG_WRAP_HOST_RUNTIME_BASE_DIR", m.PM.RuntimeBaseDir()) |
