Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=690fdd175efdff9ae5514a4e3bb4ddd74beb8749

commit 690fdd175efdff9ae5514a4e3bb4ddd74beb8749
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon Jun 14 00:31:23 2010 +0200

util.sh: return the exit code in Fexec

- to not break existing users, do not die on non-zero exit code, just
return it
- new users can still die on that non-zero return value

diff --git a/source/include/util.sh b/source/include/util.sh
index 15b462e..e828c1c 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -122,6 +122,7 @@ Fdie() {
Fexec() {
Fmessage "$*"
"$@"
+       return $?
}

###
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to