summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2015-08-18 19:13:06 -0700
committerJon Robertson <jonrober@stanford.edu>2015-08-18 19:13:06 -0700
commit60fafb8622010789dea7f6b16df25863ebed0bd8 (patch)
tree36f516d49763eeb3260766d7671e976a631e1820
parentc30c9341ef93059939581ba78efb4c626dc69490 (diff)
krb5-sync-backend: Add an ending newline to error messages
For --silent we're splitting up the errors by \n, which strips the newlines from each line. Print out with an explicit \n so that errors don't all run together.
-rwxr-xr-xtools/krb5-sync-backend2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/krb5-sync-backend b/tools/krb5-sync-backend
index 6ee82d0..3cc05c0 100755
--- a/tools/krb5-sync-backend
+++ b/tools/krb5-sync-backend
@@ -318,7 +318,7 @@ sub process {
for my $ignore (@IGNORE) {
next STDERR if $line =~ m{ $ignore }xms;
}
- print {*STDERR} $line
+ print {*STDERR} $line, "\n"
or warn "$0: cannot write to standard error: $!\n";
}
} else {