fix id -u
This commit is contained in:
parent
945b2f8348
commit
521a9a2b94
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ case $(tty) in
|
||||||
/dev/tty[0-9]*)
|
/dev/tty[0-9]*)
|
||||||
#[ $( id -u ) -eq 0 ] && TMOUT=${MYSHELLCONFIG_ROOT_TMOUT}
|
#[ $( id -u ) -eq 0 ] && TMOUT=${MYSHELLCONFIG_ROOT_TMOUT}
|
||||||
#[ $( id -u ) -gt 0 ] && TMOUT=${MYSHELLCONFIG_USER_TMOUT}
|
#[ $( id -u ) -gt 0 ] && TMOUT=${MYSHELLCONFIG_USER_TMOUT}
|
||||||
case $(id u) in
|
case $(id -u) in
|
||||||
0)
|
0)
|
||||||
TMOUT=${MYSHELLCONFIG_ROOT_TMOUT:-500}
|
TMOUT=${MYSHELLCONFIG_ROOT_TMOUT:-500}
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue