diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-19 05:41:29 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-19 06:37:04 +0900 |
| commit | aab92ce3c1c6649e1a22b00ec999a271e71ef291 (patch) | |
| tree | 3ccfa205103382e9a4cbc225e71ba9f57ac64f94 /internal/system/wayland.go | |
| parent | a495e09a8f11041fb23a9587c0dc9f52513a2937 (diff) | |
internal/wayland: clean up pathname socket
This is cleaner than cleaning up in internal/system as it covers the failure paths.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/system/wayland.go')
| -rw-r--r-- | internal/system/wayland.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/system/wayland.go b/internal/system/wayland.go index c9e431e7..8ce13b66 100644 --- a/internal/system/wayland.go +++ b/internal/system/wayland.go @@ -3,7 +3,6 @@ package system import ( "errors" "fmt" - "os" "hakurei.app/container/check" "hakurei.app/hst" @@ -63,9 +62,6 @@ func (w *waylandOp) revert(sys *I, _ *Criteria) error { if w.ctx != nil { hangupErr = w.ctx.Close() } - if err := sys.remove(w.dst.String()); err != nil && !errors.Is(err, os.ErrNotExist) { - removeErr = err - } return newOpError("wayland", errors.Join(hangupErr, removeErr), true) } |
