Skip to content

Commit

Permalink
Merge pull request #9 from cdybedahl/fix_8_warning_on_stderr
Browse files Browse the repository at this point in the history
Send warning to STDERR, not STDOUT. Closes #8.
  • Loading branch information
cdybedahl committed Mar 2, 2015
2 parents 8b39002 + cd3f9a2 commit c0b5b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Zonemaster/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ sub to_idn {
return Net::LDNS::to_idn( encode( 'utf8', decode( $self->encoding, $str ) ) );
}
else {
say __( "Warning: Net::LDNS not compiled with libidn, cannot handle non-ASCII names correctly." );
say STDERR __( "Warning: Net::LDNS not compiled with libidn, cannot handle non-ASCII names correctly." );
return $str;
}
}
Expand Down

0 comments on commit c0b5b21

Please sign in to comment.