diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-23 11:56:22 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-23 11:56:22 +0100 |
commit | 7cf9d72f20a26380d6bb15db1c2f111b104710dc (patch) | |
tree | 7c5016fa95cbe156724e66055150c9e823d5ed28 /wrapper_display | |
parent | d64fa1612a339627fff84836acb4333256b2886c (diff) | |
download | Public-7cf9d72f20a26380d6bb15db1c2f111b104710dc.tar.gz Public-7cf9d72f20a26380d6bb15db1c2f111b104710dc.tar.zst Public-7cf9d72f20a26380d6bb15db1c2f111b104710dc.zip |
Hide stderr from wrapper_display
Diffstat (limited to 'wrapper_display')
-rwxr-xr-x | wrapper_display | 2 |
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 | ||
27 | eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` | 27 | eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"` |
28 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then | 28 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then |
29 | DISPLAY=:1 | 29 | DISPLAY=:1 |
30 | fi | 30 | fi |