manual merge
This commit is contained in:
commit
0125ee0cef
@ -283,7 +283,7 @@ _lp_user()
|
|||||||
_lp_connection()
|
_lp_connection()
|
||||||
{
|
{
|
||||||
local THIS_TTY
|
local THIS_TTY
|
||||||
THIS_TTY=$(awk -v pid=$$ '$0 ~ pid && /bash/{ print $7 }' < <(ps aux) )
|
THIS_TTY=$(awk -v pid=$$ '$0 ~ pid && /${WORKING_SHELL}/{ print $7 }' < <(ps aux) )
|
||||||
local SESS_SRC
|
local SESS_SRC
|
||||||
SESS_SRC=$(who | awk -v thistty="$THIS_TTY" '$0 ~ thistty { print $6 }')
|
SESS_SRC=$(who | awk -v thistty="$THIS_TTY" '$0 ~ thistty { print $6 }')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user