summaryrefslogtreecommitdiff
path: root/src/getty-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getty-generator.c')
-rw-r--r--src/getty-generator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/getty-generator.c b/src/getty-generator.c
index f49f9eae99..683775a4d5 100644
--- a/src/getty-generator.c
+++ b/src/getty-generator.c
@@ -86,7 +86,6 @@ int main(int argc, char *argv[]) {
if (read_one_line_file("/sys/class/tty/console/active", &active) >= 0) {
const char *tty;
- truncate_nl(active);
if ((tty = strrchr(active, ' ')))
tty ++;
else