summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-23 11:56:22 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-23 11:56:22 +0100
commit7cf9d72f20a26380d6bb15db1c2f111b104710dc (patch)
tree7c5016fa95cbe156724e66055150c9e823d5ed28
parentd64fa1612a339627fff84836acb4333256b2886c (diff)
downloadPublic-7cf9d72f20a26380d6bb15db1c2f111b104710dc.tar.gz
Public-7cf9d72f20a26380d6bb15db1c2f111b104710dc.tar.zst
Public-7cf9d72f20a26380d6bb15db1c2f111b104710dc.zip
Hide stderr from wrapper_display
-rwxr-xr-xwrapper_display2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper_display b/wrapper_display
index 0146d3a..2482d96 100755
--- a/wrapper_display
+++ b/wrapper_display
@@ -24,7 +24,7 @@
24 24
25# Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping 25# Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping
26 26
27eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` 27eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"`
28if `ss -o state established sport = :5901 | grep -q "^tcp"`; then 28if `ss -o state established sport = :5901 | grep -q "^tcp"`; then
29 DISPLAY=:1 29 DISPLAY=:1
30fi 30fi