"who -m" output must be normalized
This commit is contained in:
parent
ac86a97531
commit
71d1fc417c
|
@ -76,7 +76,7 @@ get_tty() {
|
|||
}
|
||||
|
||||
get_who() {
|
||||
who=$(LC_ALL=C who -m)
|
||||
who=$(LC_ALL=C who -m | tr -s ' ')
|
||||
|
||||
if [ -n "${who}" ]; then
|
||||
echo "${who}"
|
||||
|
|
Loading…
Reference in a new issue