rankmirror: 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> --- 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 9b4e973..283fb46 100644 --- a/scripts/rankmirrors.sh.in +++ b/scripts/rankmirrors.sh.in @@ -49,7 +49,7 @@ version() { } err() { - echo "$1" + echo "$1" >&2 exit 1 } -- 1.7.1 |
rankmirror: pipe errors to stderr
On 23/06/10 12:42, Andres P wrote:
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 On my working branch. |
| All times are GMT. The time now is 11:26 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.