Commit 6d3499ae authored by Holger Levsen's avatar Holger Levsen

reproducible Arch Linux: cleanup() is only called on errors, thus exit 1

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 7d26da99
......@@ -72,7 +72,7 @@ cleanup() {
rm -rf --one-file-system $SCHROOT_TARGET || ( echo "Warning: $SCHROOT_TARGET could not be fully removed on forced cleanup." ; ls $SCHROOT_TARGET -la )
fi
rm -f $TMPLOG
exit 0
exit 1
}
#SCHROOT_TARGET=$(mktemp -d -p $SCHROOT_BASE/ archlinuxrb-setup-$TARGET-XXXX)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment