fix id -u

This commit is contained in:
Jakobus Schürz 2020-03-12 21:34:23 +01:00
parent 945b2f8348
commit 521a9a2b94

View file

@ -5,7 +5,7 @@ case $(tty) in
/dev/tty[0-9]*)
#[ $( id -u ) -eq 0 ] && TMOUT=${MYSHELLCONFIG_ROOT_TMOUT}
#[ $( id -u ) -gt 0 ] && TMOUT=${MYSHELLCONFIG_USER_TMOUT}
case $(id u) in
case $(id -u) in
0)
TMOUT=${MYSHELLCONFIG_ROOT_TMOUT:-500}
;;