summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/termcap.c')
-rw-r--r--release/sysinstall/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/sysinstall/termcap.c b/release/sysinstall/termcap.c
index 30efe0c..1f25ab1 100644
--- a/release/sysinstall/termcap.c
+++ b/release/sysinstall/termcap.c
@@ -55,7 +55,6 @@ set_termcap(void)
on = 1;
i = ioctl(DebugFD, TIOCCONS, (char *)&on);
msgDebug("ioctl(%d, TIOCCONS, NULL) = %d (%s)\n", DebugFD, i, !i ? "success" : strerror(errno));
- OnVTY = TRUE;
}
if (ColorDisplay) {
if (!term) {
@@ -73,6 +72,7 @@ set_termcap(void)
return -1;
}
}
+ OnVTY = TRUE;
}
return 0;
}
OpenPOWER on IntegriCloud