summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-06-22 22:12:49 -0430
committerAllan McRae <allan@archlinux.org>2010-06-23 13:32:21 +1000
commit708f186f98a0c2094225aa94ac8a139ac3a9163e (patch)
tree7770b1bf5e88a6e4cabb06b7fb68cfdfdc7f0470
parent226c137245192444085d03a7f841b35afe99791c (diff)
downloadpacman-708f186f98a0c2094225aa94ac8a139ac3a9163e.tar.xz
rankmirrors: pipe errors to stderr
If this is to be scripted with AIF or another tool, it needs to respect stderr. Signed-off-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/rankmirrors.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rankmirrors.sh.in b/scripts/rankmirrors.sh.in
index fcb42fa4..b0dc1ab7 100644
--- a/scripts/rankmirrors.sh.in
+++ b/scripts/rankmirrors.sh.in
@@ -49,7 +49,7 @@ version() {
}
err() {
- echo "$1"
+ echo "$1" >&2
exit 1
}