]> git.immae.eu Git - perso/Immae/Projets/Scripts/Public.git/commitdiff
Hide stderr from wrapper_display
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 Feb 2020 10:56:22 +0000 (11:56 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 Feb 2020 10:56:22 +0000 (11:56 +0100)
wrapper_display

index 0146d3a41060661def1859a9412f8e5fa6488fd0..2482d96e9d343f313d994ca08ccfb88da04827f7 100755 (executable)
@@ -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