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>
This commit is contained in:
parent
226c137245
commit
708f186f98
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ version() {
|
||||||
}
|
}
|
||||||
|
|
||||||
err() {
|
err() {
|
||||||
echo "$1"
|
echo "$1" >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue