From 7e69893264f4b3ee3fc9168a61908552f7fbddac Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Feb 2025 20:33:18 +0900 Subject: acl: rename UpdatePerms to Update Signed-off-by: Ophestra --- system/wayland.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/wayland.go') diff --git a/system/wayland.go b/system/wayland.go index 11f54d80..70b7dbd2 100644 --- a/system/wayland.go +++ b/system/wayland.go @@ -58,7 +58,7 @@ func (w *Wayland) apply(sys *I) error { } else { *w.sync = sp sys.printf("wayland listening on %q", w.dst) - return sys.wrapErrSuffix(errors.Join(os.Chmod(w.dst, 0), acl.UpdatePerm(w.dst, sys.uid, acl.Read, acl.Write, acl.Execute)), + return sys.wrapErrSuffix(errors.Join(os.Chmod(w.dst, 0), acl.Update(w.dst, sys.uid, acl.Read, acl.Write, acl.Execute)), fmt.Sprintf("cannot chmod socket on %q:", w.dst)) } } -- cgit v1.3.1