summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 5bfd912c..0dcfabfa 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -114,7 +114,14 @@ cleanup_all() {
rm $i
done
fi
-
+ #
+ # save logs if there are any
+ #
+ case $NAME in
+ *_rescue*) ;;
+ *) save_logs
+ ;;
+ esac
}
show_preseed() {
@@ -1142,7 +1149,6 @@ case $NAME in
boot_system
let START_TRIGGER=NR+500
monitor_system post_install $START_TRIGGER
- save_logs
;;
esac
cleanup_all