summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/