git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a6e60
)
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)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 14 Mar 2011 10:50:55 +0000
(10:50 +0000)
febootstrap.sh
patch
|
blob
|
history
diff --git
a/febootstrap.sh
b/febootstrap.sh
index
2965a7e
..
c992ce4
100755
(executable)
--- 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