diff options
author | Michal Schmidt | 2012-10-29 23:33:01 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-02 12:38:25 +0100 |
commit | c13d60b291cfe3e2c094225195d967c9f195ca54 (patch) | |
tree | ab33766a7054f8dd9f0f9f26128049a390e1e07c /term-utils | |
parent | gpt: create empty disklabels (diff) | |
download | kernel-qcow2-util-linux-c13d60b291cfe3e2c094225195d967c9f195ca54.tar.gz kernel-qcow2-util-linux-c13d60b291cfe3e2c094225195d967c9f195ca54.tar.xz kernel-qcow2-util-linux-c13d60b291cfe3e2c094225195d967c9f195ca54.zip |
agetty: fix autodetection for TERM
open_tty() autodetects whether to set TERM to "linux" or "vt102", but it
can apply the result only if op->term is still NULL.
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/agetty.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index e53a70188..2480f7dde 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -283,7 +283,6 @@ int main(int argc, char **argv) .flags = F_ISSUE, /* show /etc/issue (SYSV_STYLE) */ .login = _PATH_LOGIN, /* default login program */ .tty = "tty1", /* default tty line */ - .term = DEFAULT_VCTERM, /* terminal type */ .issue = ISSUE /* default issue file */ }; char *login_argv[LOGIN_ARGV_MAX + 1]; |