[who2b] session graphique != :0

Ignore-this: c9856f6cb64153391a5c682ddca1064a

darcs-hash:20120929002157-28565-34f215fc40b77d101fdf1052f7f52cb56d8f0fe0.gz
This commit is contained in:
Daniel STAN 2012-09-29 02:21:57 +02:00
parent a1a3114958
commit e201733d52

View file

@ -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