FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 06-23-2010, 02:42 AM
Andres P
 
Default 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
 
Old 06-23-2010, 03:07 AM
"Allan McRae"
 
Default 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.
 

Thread Tools




All times are GMT. The time now is 09:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org