skip main file

This commit is contained in:
Marc Beninca 2025-07-27 13:11:53 +02:00
parent ac3435eb2c
commit 10d267383f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -62,7 +62,7 @@ rwx_main_main() {
# source main modules
while IFS= read -r module; do
# except currently running main module
if [ "${module}" != "${RWX_MAIN_MODULE}" ]; then
if [ "${module}" != "${rwx_main_file}" ]; then
# shellcheck disable=SC1090
. "${rwx_main_root}/${module}"
fi