diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-12-28 11:05:53 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-12-28 11:05:53 +0100 |
commit | af4a71e1e6256d2a97d04cfb335b3af14fe62dc1 (patch) | |
tree | d52eee407faa18e2cac1d4b409c962f4c3da21fb /bin | |
parent | eca4338a0f5247f3b6c11ef75c5453de91ace326 (diff) | |
download | arch-mirror-tools-af4a71e1e6256d2a97d04cfb335b3af14fe62dc1.tar.gz arch-mirror-tools-af4a71e1e6256d2a97d04cfb335b3af14fe62dc1.tar.xz |
generate-mirror-mail.pl: Always read from STDIN
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/generate-mirror-mail.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl index c071d8f..23384b6 100755 --- a/bin/generate-mirror-mail.pl +++ b/bin/generate-mirror-mail.pl @@ -98,7 +98,7 @@ sub fill_template { return $result; } -while (<>) { +while (<STDIN>) { try { my $url = $_; chomp($url); |