This commit is contained in:
Xavier Logerais 2018-04-09 21:14:41 +02:00
commit cd76084086

View File

@ -3,6 +3,7 @@
if [[ -z "$DISPLAY" && $(id -u) -ge 1000 ]] ; then
TTY=$(tty)
if [ "$TTY" == "not a tty" ]; then return; fi
if [ "${TTY/tty}" != "$TTY" -a $(basename ${TTY/tty}) -le 3 ]
then