mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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
@ -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…
Reference in New Issue
Block a user