Ignore tmux error in motd
[khome.git] / home / lib / login_functions.sh
index 4680be2..fa45b80 100644 (file)
@@ -399,7 +399,7 @@ motd() {
 
     echo
 
-    printf 'tmux sessions: %d\n' "$(tmux ls | wc -l)"
+    printf 'tmux sessions: %d\n' "$(tmux ls 2> /dev/null | wc -l)"
 
     echo
 
This page took 0.024396 seconds and 4 git commands to generate.