chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
loginctl: add missing header file
[elogind.git]
/
src
/
getty-generator.c
diff --git
a/src/getty-generator.c
b/src/getty-generator.c
index f49f9eae99df54a108659064157932bfb939df4d..683775a4d50615be3af32159ef01aa478a06115d 100644
(file)
--- 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