diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-01 13:22:32 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-01 13:22:32 +0100 |
commit | 9cde42a2506db0ca33b59e59ad92e5eaf2b59613 (patch) | |
tree | aa83fe8a654f59e740e616295fcb75fdfdd26cbd | |
parent | 5a0df23b733b84e2843873bdec0c6ced7bf238a2 (diff) | |
download | jenkins.debian.net-9cde42a2506db0ca33b59e59ad92e5eaf2b59613.tar.xz |
dont fail on errors when copying logs
-rwxr-xr-x | bin/g-i-installation.sh | 3 |
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/ |