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 ed221180..4762312d 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -1012,7 +1012,6 @@ save_logs() {
#
# get logs and other files from the installed system
#
- # remove set +e & -x once the code has proven its good
set -x
cd $WORKSPACE
SYSTEM_MNT=/media/$NAME
@@ -1040,6 +1039,7 @@ save_logs() {
#
set +e
sudo cp -r $SYSTEM_MNT/var/log/installer $SYSTEM_MNT/etc/fstab $RESULTS/log/
+ set -e
#
# get list of installed packages
#
@@ -1087,6 +1087,7 @@ save_logs() {
*) ;;
esac
sudo umount -l $SYSTEM_MNT || ( echo "Warning: cannot un-mount $SYSTEM_MNT" ; figlet "fail" )
+ set -x
}
trap cleanup_all INT TERM EXIT