wayland-headless: Ignore option parameters
This commit is contained in:
parent
0346c562ee
commit
069f047cf5
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ set -o pipefail
|
||||||
|
|
||||||
# Discard all options
|
# Discard all options
|
||||||
while [[ "$1" =~ ^- ]]; do
|
while [[ "$1" =~ ^- ]]; do
|
||||||
shift
|
case "$1" in
|
||||||
|
(-e|-f|-n|-p|-s|-w) shift ;&
|
||||||
|
(*) shift ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
exec '@out@/bin/wl-run' "$@"
|
exec '@out@/bin/wl-run' "$@"
|
||||||
|
|
Loading…
Reference in a new issue