summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-01 13:22:32 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-01 13:22:32 +0100
commit9cde42a2506db0ca33b59e59ad92e5eaf2b59613 (patch)
treeaa83fe8a654f59e740e616295fcb75fdfdd26cbd
parent5a0df23b733b84e2843873bdec0c6ced7bf238a2 (diff)
downloadjenkins.debian.net-9cde42a2506db0ca33b59e59ad92e5eaf2b59613.tar.xz
dont fail on errors when copying logs
-rwxr-xr-xbin/g-i-installation.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 094993c1..f1e074b1 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -569,8 +569,9 @@ save_logs() {
;;
esac
#
- # copy logs
+ # copy logs (and continue if some logs cannot be copied)
#
+ set -e
mkdir -p $RESULTS/log
sudo cp -r $SYSTEM_MNT/var/log/installer $RESULTS/log/
sudo chown -R jenkins:jenkins $RESULTS/log/