From d69fbd974bec3051e9b59a1f321f97a08288794a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 12 Mar 2020 18:27:38 +0100 Subject: [PATCH] fix output for autologout debug --- myshell_load_defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myshell_load_defaults b/myshell_load_defaults index 187539c..be7f2d3 100644 --- a/myshell_load_defaults +++ b/myshell_load_defaults @@ -3,9 +3,9 @@ # if we are root, exit after 5 Minutes case $(tty) in /dev/tty[0-9]*) - echo "Run in TTY -> set autologout \$TMOUT=$TMOUT" >&2 [ $( id -u ) -eq 0 ] && TMOUT=${MYSHELLCONFIIG_ROOT_TMOUT} [ $( id -u ) -gt 0 ] && TMOUT=${MYSHELLCONFIIG_USER_TMOUT} + echo "Run in TTY -> set autologout \$TMOUT=$TMOUT" >&2 ;; *) echo "Run in other terminal" >&2