summaryrefslogtreecommitdiff
path: root/src/chroot-tools/indent
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/indent')
-rwxr-xr-xsrc/chroot-tools/indent2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/indent b/src/chroot-tools/indent
index 9a6247f..0f047c6 100755
--- a/src/chroot-tools/indent
+++ b/src/chroot-tools/indent
@@ -47,7 +47,7 @@ while (1) {
$print_indent = 0;
} elsif ($c eq "\r") {
syswrite(STDOUT, $c, 1);
- $print_indent = 1;
+ $print_indent = 1 if ($print_indent == 2);
} else {
syswrite(STDOUT, $indent) if ($print_indent < 2);
syswrite(STDOUT, $c, 1);