mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Print perl import warning to STDERR
Printing to STDOUT can interfere with programs which intend to produce machine-readable output and yet for whatever reason import Irssi.pm from outside of irssi. Closes https://github.com/irssi/irssi/issues/1465
This commit is contained in:
parent
a8a2460531
commit
c5df1c01cc
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ eval {
|
|||
$in_irssi = $@ ? 0 : 1;
|
||||
|
||||
if (!in_irssi()) {
|
||||
print "Warning: This script should be run inside irssi\n";
|
||||
print STDERR "Warning: This script should be run inside irssi\n";
|
||||
} else {
|
||||
bootstrap Irssi $VERSION if (!$static);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue