Эх сурвалжийг харах

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

Rusty Bird 4 жил өмнө
parent
commit
686673e1fd

+ 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