summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-11 15:02:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-11 15:02:21 +0200
commit9923b28e99b078d79f6711bb773822e021412990 (patch)
treee66b0409a778db82b6f591d254b3dc9e399d068a /bin
parent5aafca02c503e1b596bbc8a5b480078e16db54f6 (diff)
DeutscheBahn.pm: Make XPath node extraction less repetitive
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-ris2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-ris b/bin/db-ris
index 4462c37..082505f 100755
--- a/bin/db-ris
+++ b/bin/db-ris
@@ -93,7 +93,7 @@ sub display_result {
}
if ( my $err = $status->errstr ) {
- say "Request error: ${err}";
+ say STDERR "Request error: ${err}";
exit 2;
}