summaryrefslogtreecommitdiffstats
path: root/scripts/rankmirrors.sh.in
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-06-23 04:42:49 +0200
committerAllan McRae <allan@archlinux.org>2010-06-23 05:32:21 +0200
commit708f186f98a0c2094225aa94ac8a139ac3a9163e (patch)
tree7770b1bf5e88a6e4cabb06b7fb68cfdfdc7f0470 /scripts/rankmirrors.sh.in
parent226c137245192444085d03a7f841b35afe99791c (diff)
downloadpacman-708f186f98a0c2094225aa94ac8a139ac3a9163e.tar.gz
pacman-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>
Diffstat (limited to 'scripts/rankmirrors.sh.in')
-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
}