aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/exec.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-05 20:03:06 +0900
committerOphestra <cat@gensokyo.uk>2026-05-05 20:03:06 +0900
commit5a26895a229fa85b66b62bf70fcaec06aab8ad6f (patch)
tree46a7af063d9a4f1cbf0553351950a6431e550cc6 /internal/pkg/exec.go
parent09d9f766a94c9261a7e6c4c24b52e718d6d5fe86 (diff)
internal/pkg: optionally suppress init verbosity
This flag applies to every exec artifact cured by the cache. It has no effect on cure outcome. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec.go')
-rw-r--r--internal/pkg/exec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go
index 7760668a..9169980d 100644
--- a/internal/pkg/exec.go
+++ b/internal/pkg/exec.go
@@ -436,6 +436,7 @@ func (a *execArtifact) makeContainer(
if z.HostNet {
z.Hostname = "cure-net"
}
+ z.Quiet = flags&CSuppressInit != 0
z.Uid, z.Gid = (1<<10)-1, (1<<10)-1
z.Dir, z.Path, z.Args = a.dir, a.path, a.args
z.Env = slices.Concat(a.env, []string{EnvJobs + "=" + strconv.Itoa(jobs)})