core: implement ensure_profile_loaded function (#10999)

This commit is contained in:
CanbiZ (MickLesk)
2026-01-20 14:59:41 +01:00
committed by GitHub
parent 785177fe29
commit ff5263981b
2 changed files with 30 additions and 2 deletions
+2
View File
@@ -2843,6 +2843,7 @@ start() {
elif [ ! -z ${PHS_SILENT+x} ] && [[ "${PHS_SILENT}" == "1" ]]; then
VERBOSE="no"
set_std_mode
ensure_profile_loaded
update_script
cleanup_lxc
else
@@ -2868,6 +2869,7 @@ start() {
exit
;;
esac
ensure_profile_loaded
update_script
cleanup_lxc
fi