From 041708dc29c569f8887676d58d3f918a720d94d4 Mon Sep 17 00:00:00 2001 From: fugkco <59912404+fugkco@users.noreply.github.com> Date: Tue, 12 Apr 2022 08:42:37 +0100 Subject: [PATCH] Ensure failures are captures early and exec Ryujinx --- ryujinx-wrapper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ryujinx-wrapper b/ryujinx-wrapper index b59544a..3179315 100644 --- a/ryujinx-wrapper +++ b/ryujinx-wrapper @@ -1,7 +1,9 @@ #!/bin/sh +set -e + for i in {0..9}; do test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; done -Ryujinx $@ +exec Ryujinx $@