Explorar o código

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

Rusty Bird %!s(int64=4) %!d(string=hai) anos
pai
achega
686673e1fd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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