From 18a7244ee5d47b083bc3653a8d97ac6ef8bad5bc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 25 Oct 2013 15:46:42 -0400 Subject: librechroot+indent: Add in a bunch of extra '\r's to work-around the systemd bug --- src/chroot-tools/indent | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/chroot-tools/indent') diff --git a/src/chroot-tools/indent b/src/chroot-tools/indent index 5a7f654..0e2d0e0 100755 --- a/src/chroot-tools/indent +++ b/src/chroot-tools/indent @@ -19,7 +19,9 @@ while (1) { $c = substr($buffer, $_, 1); if ($c eq "\n") { syswrite(STDOUT, $indent) if ($print_indent); - syswrite(STDOUT, $c, 1); + # XXX: SYSTEMD-STDOUT HACK + #syswrite(STDOUT, $c, 1); + syswrite(STDOUT, "\r\n", 2); $print_indent = 1; } elsif ($c eq "\r") { syswrite(STDOUT, $c, 1); -- cgit v1.2.3-54-g00ecf