diff options
author | Andres P <aepd87@gmail.com> | 2010-06-23 04:42:49 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-23 05:32:21 +0200 |
commit | 708f186f98a0c2094225aa94ac8a139ac3a9163e (patch) | |
tree | 7770b1bf5e88a6e4cabb06b7fb68cfdfdc7f0470 | |
parent | 226c137245192444085d03a7f841b35afe99791c (diff) | |
download | pacman-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>
-rw-r--r-- | scripts/rankmirrors.sh.in | 2 |
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 } |