about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-08-29 23:54:58 +0530
committerAndinus <andinus@nand.sh>2020-08-29 23:54:58 +0530
commit57e5413acec140aa49efbaf80e23e3674a1beb81 (patch)
tree270282db642270a571421768bfd2ca714b52ee83
parent9e70d73b5aa1397ec28702230faf4df537b3b29f (diff)
downloadpyxis-57e5413acec140aa49efbaf80e23e3674a1beb81.tar.gz
Warn on invalid field
Send it to STDERR. Send everything to STDERR. I'm tired.
-rwxr-xr-xpyxis.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyxis.pl b/pyxis.pl
index 7aedba0..976ad2e 100755
--- a/pyxis.pl
+++ b/pyxis.pl
@@ -80,7 +80,7 @@ my %dispatch = (
 
         foreach my $feed (@feeds) {
             # Skip if feed file doesn't exist.
-            say "pyxis: unknown feed `$feed'"
+            warn "pyxis: unknown feed `$feed'\n"
                 and next
                 unless -e $feed;