From 069f047cf5d508a113c79a68a145ccc255b74165 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sat, 31 Aug 2024 00:06:13 +0200 Subject: [PATCH] wayland-headless: Ignore option parameters --- package/wayland-headless/xvfb-run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/wayland-headless/xvfb-run.sh b/package/wayland-headless/xvfb-run.sh index a5a71e7..7169f32 100644 --- a/package/wayland-headless/xvfb-run.sh +++ b/package/wayland-headless/xvfb-run.sh @@ -6,7 +6,10 @@ set -o pipefail # Discard all options while [[ "$1" =~ ^- ]]; do - shift + case "$1" in + (-e|-f|-n|-p|-s|-w) shift ;& + (*) shift ;; + esac done exec '@out@/bin/wl-run' "$@"