diff --git a/gestion/tools/who2b.py b/gestion/tools/who2b.py index 8c94f969..b49bb9d6 100644 --- a/gestion/tools/who2b.py +++ b/gestion/tools/who2b.py @@ -65,7 +65,7 @@ def liste_2b(): # Utilisateurs connectés sur vo sur place if gethostname() == 'vo': cprint('---=== W(ho) sur vo ===---', 'bleu') - ttyfound = system("/usr/bin/w -s | /bin/egrep 'tty0| :0 | \(:0'") + ttyfound = system("/usr/bin/w -s | /bin/egrep 'tty0| :[0-9]+ | \(:[0-9]+'") print '' # Conclusion