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

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

View File

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