From 5c8bcd6f4cdc51a1a3eb9c641b9d650488ea929a Mon Sep 17 00:00:00 2001 From: tomas Date: Tue, 18 Jan 2005 15:54:09 +0000 Subject: [PATCH] Fixed return value. --- livesupport/modules/storageServer/bin/getUrl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livesupport/modules/storageServer/bin/getUrl.sh b/livesupport/modules/storageServer/bin/getUrl.sh index be5010839..bc134ea25 100755 --- a/livesupport/modules/storageServer/bin/getUrl.sh +++ b/livesupport/modules/storageServer/bin/getUrl.sh @@ -22,7 +22,7 @@ # # # Author : $Author: tomas $ -# Version : $Revision: 1.1 $ +# Version : $Revision: 1.2 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/bin/getUrl.sh,v $ #------------------------------------------------------------------------------- @@ -39,6 +39,6 @@ RES=`curl -sf ${URL}` || \ else echo "ERROR: $ERN - unknown"; fi; - exit 1; + exit $ERN; } echo $RES