febootstrap 2.x does not return valid exit code febootstrap-2.x
authorМарк Коренберг <socketpair@gmail.com>
Mon, 14 Mar 2011 10:50:55 +0000 (10:50 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 14 Mar 2011 10:50:55 +0000 (10:50 +0000)
febootstrap.sh

index 2965a7e..c992ce4 100755 (executable)
@@ -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