code/relay
All checks were successful
/ job (push) Successful in 2m55s

This commit is contained in:
Marc Beninca 2025-07-09 05:25:01 +02:00
parent 09bf59c3ba
commit 00005aa03d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 6 additions and 1 deletions

View file

@ -223,6 +223,9 @@ rwx_code_parse() {
# ╰──────┴──────╯
rwx_code_main() {
local code="${1}"
shift
_rwx_code="${code}"
# source user root
rwx_main_source "${RWX_SELF_USER}"
# load code cache

View file

@ -125,13 +125,15 @@ ${text}
# run initial steps
#< core/code
rwx_main_main() {
local code
# source system root
if ! rwx_main_source "${RWX_ROOT_SYSTEM}" "${RWX_MAIN_NAME}"; then
_rwx_main_log "Not a directory: ${RWX_ROOT_SYSTEM}"
return 1
fi
code="${_rwx_code}"
# run code main function
rwx_code_main "${@}"
rwx_code_main "${code}" "${@}"
}
# run main function