public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/discord/files/
@ 2024-07-01 17:51 Nick Sarnie
  0 siblings, 0 replies; only message in thread
From: Nick Sarnie @ 2024-07-01 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     1805671f839d72cdf687740e78ea755f4766b150
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Mon Jul  1 04:26:25 2024 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Mon Jul  1 17:50:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1805671f

net-im/discord: fix seccomp test in launcher

Fix a bug I introduced in
commit 6368a566a8b05f09e5edfad5d4f7577a83c6334b.

Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 net-im/discord/files/launcher.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-im/discord/files/launcher.sh b/net-im/discord/files/launcher.sh
index 032524ae68e9..597974d43e0e 100644
--- a/net-im/discord/files/launcher.sh
+++ b/net-im/discord/files/launcher.sh
@@ -6,7 +6,7 @@ declare -a discord_parameters
 
 SECCOMP=false
 
-[[ ! "${SECCOMP}" ]] && discord_parameters+=( --disable-seccomp-filter-sandbox )
+"${SECCOMP}" || discord_parameters+=( --disable-seccomp-filter-sandbox )
 
 [[ -n "${WAYLAND_DISPLAY}" ]] && discord_parameters+=(
 	--enable-features=UseOzonePlatform


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-01 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 17:51 [gentoo-commits] repo/gentoo:master commit in: net-im/discord/files/ Nick Sarnie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox