misc/qubes-run-gnome-terminal: slightly restrict pattern

This commit is contained in:
Rusty Bird 2020-01-31 16:34:04 +00:00
parent 9d9ef25b05
commit 686673e1fd
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -6,6 +6,6 @@
# (we can't just run it and check exit code, because if it works, it will # (we can't just run it and check exit code, because if it works, it will
# return the exit code of the child process) # return the exit code of the child process)
case "$(gnome-terminal --help-terminal-options)" in case "$(gnome-terminal --help-terminal-options)" in
*--wait*) exec gnome-terminal --wait "$@" ;; *--wait\ *) exec gnome-terminal --wait "$@" ;;
*) exec gnome-terminal "$@" ;; *) exec gnome-terminal "$@" ;;
esac esac