2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

contrib/pre-commit: STDERR is the right output channel

git-svn-id: https://svn.fhem.de/fhem/trunk@6869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-11-02 15:38:42 +00:00
parent 4af0529bf7
commit 394fff680e

View File

@ -17,7 +17,7 @@ use constant TAGS => qw{ul li code b};
my $log = `$svnlook log $arg $repos`;
if($log !~ m/^.*:.*$/s) {
print << 'EOF';
print STDERR << 'EOF';
A FHEM SVN comment must have the following format
module: text-describing-the-change
or
@ -89,6 +89,6 @@ sub
err($$)
{
my ($fName, $txt) = @_;
print "*** $fName: $txt\n";
print STDERR "*** $fName: $txt\n";
$exitCode = 1;
}