From 74fe74e6b510291ad480a23c3ec37db0b14c7815 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 21 Dec 2024 17:56:21 +0900 Subject: [PATCH] app: do not fail on missing cookie Signed-off-by: Ophestra --- internal/app/share.pulse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/share.pulse.go b/internal/app/share.pulse.go index f21dbf9..80141cb 100644 --- a/internal/app/share.pulse.go +++ b/internal/app/share.pulse.go @@ -66,7 +66,7 @@ func (seal *appSeal) sharePulse(os linux.System) error { // publish current user's pulse cookie for target user if src, err := discoverPulseCookie(os); err != nil { - return err + fmsg.VPrintln(err.(*fmsg.BaseError).Message()) } else { dst := path.Join(seal.share, "pulse-cookie") seal.sys.bwrap.SetEnv[pulseCookie] = dst