login-utils: remove unwanted newlines from wall
Prevent wall from adding an empty newline to every new line. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
65c381e984
commit
529bdd94f4
|
@ -221,6 +221,7 @@ makemsg(fname)
|
|||
putc('\n', fp);
|
||||
cnt = 0;
|
||||
}
|
||||
if (ch != '\n')
|
||||
carefulputc(ch, fp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue