summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/base-files/base-files/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/base-files/base-files/profile b/meta/recipes-core/base-files/base-files/profile
index 7367fd1e29..c616616cee 100644
--- a/meta/recipes-core/base-files/base-files/profile
+++ b/meta/recipes-core/base-files/base-files/profile
@@ -26,7 +26,7 @@ if [ -x /usr/bin/resize ] && termpath="`tty`"; then
26 # Make sure we are on a serial console (i.e. the device used starts with /dev/tty), 26 # Make sure we are on a serial console (i.e. the device used starts with /dev/tty),
27 # otherwise we confuse e.g. the eclipse launcher which tries do use ssh 27 # otherwise we confuse e.g. the eclipse launcher which tries do use ssh
28 case "$termpath" in 28 case "$termpath" in
29 /dev/tty*) resize >/dev/null 29 /dev/tty[A-z]*) resize >/dev/null
30 esac 30 esac
31fi 31fi
32 32