diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-25 15:46:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-26 00:46:25 -0400 |
commit | 18a7244ee5d47b083bc3653a8d97ac6ef8bad5bc (patch) | |
tree | 4dbd0bc4f5b13113295d32cf50382f2c00ae436d /src/chroot-tools/indent | |
parent | 0d673eadca425d63c7367372575058324e9ecc91 (diff) |
librechroot+indent: Add in a bunch of extra '\r's to work-around the systemd bug
Diffstat (limited to 'src/chroot-tools/indent')
-rwxr-xr-x | src/chroot-tools/indent | 4 |
1 files changed, 3 insertions, 1 deletions
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); |