diff options
Diffstat (limited to 'system/wayland.go')
| -rw-r--r-- | system/wayland.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/wayland.go b/system/wayland.go index 999feee7..f6e50511 100644 --- a/system/wayland.go +++ b/system/wayland.go @@ -59,7 +59,7 @@ func (w *WaylandOp) apply(sys *I) error { } func (w *WaylandOp) revert(_ *I, ec *Criteria) error { - if ec.hasType(w) { + if ec.hasType(w.Type()) { msg.Verbosef("removing wayland socket on %q", w.dst) if err := os.Remove(w.dst); err != nil && !errors.Is(err, os.ErrNotExist) { return newOpError("wayland", err, true) |
