home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529bfbe
)
Ignore tmux error in motd
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 31 Oct 2020 00:54:02 +0000
(20:54 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 31 Oct 2020 00:54:02 +0000
(20:54 -0400)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
4680be2
..
fa45b80
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-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.023326 seconds
and
4
git commands to generate.