]> eyrie.org Git - kerberos/krb5-sync.git/commitdiff
krb5-sync-backend: Add an ending newline to error messages
authorJon Robertson <jonrober@stanford.edu>
Wed, 19 Aug 2015 02:13:06 +0000 (19:13 -0700)
committerJon Robertson <jonrober@stanford.edu>
Wed, 19 Aug 2015 02:13:06 +0000 (19:13 -0700)
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.

tools/krb5-sync-backend

index 6ee82d087b8c06a5693f3251bea70efe1c3fdc5a..3cc05c0b23549f787d3a221c0853e480e66ebbf0 100755 (executable)
@@ -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 {