[who2b] session graphique != :0
Ignore-this: c9856f6cb64153391a5c682ddca1064a darcs-hash:20120929002157-28565-34f215fc40b77d101fdf1052f7f52cb56d8f0fe0.gz
This commit is contained in:
parent
a1a3114958
commit
e201733d52
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def liste_2b():
|
||||||
# Utilisateurs connectés sur vo sur place
|
# Utilisateurs connectés sur vo sur place
|
||||||
if gethostname() == 'vo':
|
if gethostname() == 'vo':
|
||||||
cprint('---=== W(ho) sur vo ===---', 'bleu')
|
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 ''
|
print ''
|
||||||
|
|
||||||
# Conclusion
|
# Conclusion
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue