Browse Source

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

Rusty Bird 4 years ago
parent
commit
686673e1fd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      misc/qubes-run-gnome-terminal

+ 2 - 2
misc/qubes-run-gnome-terminal

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