Commit 6c382b98 authored by Ralf's avatar Ralf
Browse files

Fix "who" output

Fixes #4
parent 4e7bf379
......@@ -57,7 +57,7 @@ def exitcmd(c):
def whocmd(c):
for n in grp.getgrnam("tuer").gr_mem:
p = pwd.getpwnam(n)
print (p.pw_name, " - ", p.pw_gecos)
print (p.pw_name, " - ", p.pw_gecos.split(",")[0])
def alias (cmds, aliases):
for newname, oldname in aliases.items():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment