diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-17 21:53:31 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-17 21:53:31 +0900 |
| commit | 07181138e5abdf78dfcd6e9100362349ec4a81e8 (patch) | |
| tree | 146e5a18da424c6345aa7d5d0a345d2eee314e87 /sandbox/sequential.go | |
| parent | 816b372f145738bbdbd59df7110254993cd75cba (diff) | |
sandbox/mount: pass absolute path
This should never be used unless there is a good reason to, like using a file in the intermediate root.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/sequential.go')
| -rw-r--r-- | sandbox/sequential.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/sequential.go b/sandbox/sequential.go index 2a38c89b..1ffe4e7e 100644 --- a/sandbox/sequential.go +++ b/sandbox/sequential.go @@ -36,7 +36,7 @@ func (b *BindMount) String() string { return fmt.Sprintf("%q on %q flags %#x", b.Source, b.Target, b.Flags&BindWritable) } func (f *Ops) Bind(source, target string, flags int) *Ops { - *f = append(*f, &BindMount{source, target, flags | BindRecursive}) + *f = append(*f, &BindMount{source, target, flags | bindRecursive}) return f } |
