diff options
Diffstat (limited to 'src/getty-generator/getty-generator.c')
-rw-r--r-- | src/getty-generator/getty-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c index 1cef6aeae9..cb38f21052 100644 --- a/src/getty-generator/getty-generator.c +++ b/src/getty-generator/getty-generator.c @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) { /* Automatically add in a serial getty on the kernel * console */ - if (tty_is_vc(tty)) + if (isempty(tty) || tty_is_vc(tty)) free(active); else { int k; |