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' "$@"