diff --git a/src/main.c b/src/main.c index 8ec67c7f..6c237308 100644 --- a/src/main.c +++ b/src/main.c @@ -1838,7 +1838,8 @@ check_for_consoles (state_t *state, if (end != NULL) *end = '\0'; - if (strcmp (console, "tty0") == 0 || strcmp (console, "/dev/tty0") == 0) + if (strcmp (console, "tty0") == 0 || strcmp (console, "/dev/tty0") == 0 || + strcmp (console, "tty") == 0 || strcmp (console, "tty") == 0) { free (console); console = strdup (default_tty);