diff options
author | Andres P <aepd87@gmail.com> | 2010-06-22 22:12:49 -0430 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-23 13:32:21 +1000 |
commit | 708f186f98a0c2094225aa94ac8a139ac3a9163e (patch) | |
tree | 7770b1bf5e88a6e4cabb06b7fb68cfdfdc7f0470 /scripts | |
parent | 226c137245192444085d03a7f841b35afe99791c (diff) |
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')
-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 } |