X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fgetty-generator.c;h=683775a4d50615be3af32159ef01aa478a06115d;hb=88bb8d215aa0f5576eb3f9c77c30cdc4b17783fe;hp=f49f9eae99df54a108659064157932bfb939df4d;hpb=2a796654b9a1f84962e5dafbcf171dcc22742c99;p=elogind.git diff --git a/src/getty-generator.c b/src/getty-generator.c index f49f9eae9..683775a4d 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