sandbox: pass params to setup ops
All checks were successful
Test / Create distribution (push) Successful in 20s
Test / Fortify (push) Successful in 2m5s
Test / Fpkg (push) Successful in 3m26s
Test / Data race detector (push) Successful in 3m49s
Test / Flake checks (push) Successful in 55s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-14 02:11:38 +09:00
parent e94b09d337
commit a092b042ab
3 changed files with 5 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ func Init(exit func(code int)) {
for i, op := range *params.Ops {
fmsg.Verbosef("mounting %s", op)
if err := op.apply(); err != nil {
if err := op.apply(&params.InitParams); err != nil {
fmsg.PrintBaseError(err,
fmt.Sprintf("cannot apply op %d:", i))
exit(1)