Commit 65d3f2a4 authored by Holger Levsen's avatar Holger Levsen

g-i-installation: move save_logs() call into cleanup_up() to also (try to)...

g-i-installation: move save_logs() call into cleanup_up() to also (try to) gather logs when the installation hangs
parent dbcf5a3c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment