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 2be2012d0a
commit 20344b9ce0

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;
}