diff options
Diffstat (limited to 'src/getty-generator')
-rw-r--r-- | src/getty-generator/getty-generator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c index b15c76b5b8..a143b5413b 100644 --- a/src/getty-generator/getty-generator.c +++ b/src/getty-generator/getty-generator.c @@ -201,16 +201,16 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } + /* We assume that gettys on virtual terminals are + * started via manual configuration and do this magic + * only for non-VC terminals. */ + if (isempty(tty) || tty_is_vc(tty)) continue; if (verify_tty(tty) < 0) continue; - /* We assume that gettys on virtual terminals are - * started via manual configuration and do this magic - * only for non-VC terminals. */ - if (add_serial_getty(tty) < 0) return EXIT_FAILURE; } |