Преглед изворни кода

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

Rusty Bird пре 4 година
родитељ
комит
686673e1fd
1 измењених фајлова са 2 додато и 2 уклоњено
  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