quote grep parameter
This commit is contained in:
parent
8d0eddaf6f
commit
47c452f977
|
@ -81,7 +81,7 @@ get_who() {
|
|||
if [ -n "${who}" ]; then
|
||||
echo "${who}"
|
||||
else
|
||||
LC_ALL=C who | grep $(get_tty) | tr -s ' '
|
||||
LC_ALL=C who | grep "$(get_tty)" | tr -s ' '
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue