From: Ismaƫl Bouya Date: Sun, 23 Feb 2020 10:56:22 +0000 (+0100) Subject: Hide stderr from wrapper_display X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7cf9d72f20a26380d6bb15db1c2f111b104710dc;p=perso%2FImmae%2FProjets%2FScripts%2FPublic.git Hide stderr from wrapper_display --- diff --git a/wrapper_display b/wrapper_display index 0146d3a..2482d96 100755 --- a/wrapper_display +++ b/wrapper_display @@ -24,7 +24,7 @@ # Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping -eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` +eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"` if `ss -o state established sport = :5901 | grep -q "^tcp"`; then DISPLAY=:1 fi