[scripts] iso_build.sh: fix if condition after flock

This commit is contained in:
Fabio Erculiani
2013-06-09 06:26:08 +02:00
parent edccc8c8c3
commit f6f274272f
+2 -2
View File
@@ -421,7 +421,7 @@ build_sabayon() {
if [ ${#arm_source_specs[@]} != 0 ]; then
(
flock --timeout $((24 * 3600)) -x 9
if [ "${?}" = "0" ]; then
if [ "${?}" != "0" ]; then
echo "Timed out during arm_source_specs lock contention" >&2
exit 1
fi
@@ -433,7 +433,7 @@ build_sabayon() {
if [ ${#source_specs[@]} != 0 ]; then
(
flock --timeout $((24 * 3600)) -x 9
if [ "${?}" = "0" ]; then
if [ "${?}" != "0" ]; then
echo "Timed out during source_specs lock contention" >&2
exit 1
fi