From 4b3ae5fc754481454ebea4a1ea6efad0108901a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=9C=D0=B0=D1=80=D0=BA=20=D0=9A=D0=BE=D1=80=D0=B5=D0=BD?= =?utf8?q?=D0=B1=D0=B5=D1=80=D0=B3?= Date: Mon, 14 Mar 2011 10:50:55 +0000 Subject: [PATCH] febootstrap 2.x does not return valid exit code --- febootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 1.8.3.1