Fediversity/deployment/02-opentofu-sandboxed-init.patch
Kiara Grouwstra ca8ba444b7
centralize TF
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-11-10 13:22:22 +01:00

14 lines
451 B
Diff

diff --git a/internal/command/init.go b/internal/command/init.go
index 4491590ea9..56241d93e9 100644
--- a/internal/command/init.go
+++ b/internal/command/init.go
@@ -263,8 +263,7 @@ func (c *InitCommand) Run(args []string) int {
}
if err := sMgr.RefreshState(); err != nil {
- c.Ui.Error(fmt.Sprintf("Error refreshing state: %s", err))
- return 1
+ c.Ui.Warn(fmt.Sprintf("Issue refreshing state: %s", err))
}
state = sMgr.State()