diff options
author | Jon Robertson <jonrober@stanford.edu> | 2015-08-18 19:13:06 -0700 |
---|---|---|
committer | Jon Robertson <jonrober@stanford.edu> | 2015-08-18 19:13:06 -0700 |
commit | 60fafb8622010789dea7f6b16df25863ebed0bd8 (patch) | |
tree | 36f516d49763eeb3260766d7671e976a631e1820 | |
parent | c30c9341ef93059939581ba78efb4c626dc69490 (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-x | tools/krb5-sync-backend | 2 |
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 { |