Add options to enable/disable hooks (sending mail, commit /etc/.git, save to database…) #7
|
@ -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