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 04-06-2012, 10:07 PM
Florian Pritz
 
Default pkgdelta: exit 1 upon error

This has been 0 since 9fa18d9a4b4ce5217842c71d8a45676e3fb9d3f4, but it
doesn't makes sense because we are raising an error.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
---
scripts/pkgdelta.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index da5d7c9..cebc3f4 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -194,7 +194,7 @@ fi
for i in "${args[@]}"; do
if [[ ! -f $i ]]; then
error "$(gettext "File '%s' does not exist")" "$i"
- exit 0
+ exit 1
fi
done

--
1.7.9.6
 
Old 04-07-2012, 12:28 PM
Florian Pritz
 
Default pkgdelta: exit 1 upon error

This has been 0 since 9fa18d9a4b4ce5217842c71d8a45676e3fb9d3f4, but it
doesn't makes sense because we are raising an error.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
---
scripts/pkgdelta.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index f76d1ca..bae2ef8 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -195,7 +195,7 @@ fi
for i in "${args[@]}"; do
if [[ ! -f $i ]]; then
error "$(gettext "File '%s' does not exist")" "$i"
- exit 0
+ exit 1
fi
done

--
1.7.9.6
 

Thread Tools




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

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