From: Марк Коренберг Date: Mon, 14 Mar 2011 10:50:55 +0000 (+0000) Subject: febootstrap 2.x does not return valid exit code X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4b3ae5fc754481454ebea4a1ea6efad0108901a0;p=febootstrap.git febootstrap 2.x does not return valid exit code --- diff --git a/febootstrap.sh b/febootstrap.sh index 2965a7e..c992ce4 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -238,8 +238,12 @@ else run_yum "${packages[@]}" fi +r=$? + # Clean up the yum repository. if [ "$clean" = "yes" ]; then febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap-updates fi + +exit $r