소스 검색

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