aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system/link.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-17 00:07:52 +0900
committerOphestra <cat@gensokyo.uk>2025-02-17 00:07:52 +0900
commit82a072f641b2b8eb4f966a01056283f93b57342f (patch)
tree0b9c16370ac7ba825fb530c6483ff3e96f8b97d4 /internal/system/link.go
parent60c10c3f4ae9b3093e75a22d03d6a1d0862a2f25 (diff)
system/tmpfiles: implement private tmpfiles
These are only available within the mount namespace and should significantly reduce attack surface. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/system/link.go')
-rw-r--r--internal/system/link.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/system/link.go b/internal/system/link.go
index 7e690c78..9689e253 100644
--- a/internal/system/link.go
+++ b/internal/system/link.go
@@ -28,7 +28,7 @@ type Hardlink struct {
func (l *Hardlink) Type() Enablement { return l.et }
func (l *Hardlink) apply(_ *I) error {
- fmsg.Verbose("linking ", l)
+ fmsg.Verbose("linking", l)
return fmsg.WrapErrorSuffix(os.Link(l.src, l.dst),
fmt.Sprintf("cannot link %q:", l.dst))
}