From 311947be2ffd2186f003f91304289b38a82459ae Mon Sep 17 00:00:00 2001 From: Diego Rivera Date: Wed, 1 May 2024 16:50:02 -0600 Subject: [PATCH] Minor tweaks --- configure-subsystems | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/configure-subsystems b/configure-subsystems index 663e06e..571b1cf 100755 --- a/configure-subsystems +++ b/configure-subsystems @@ -168,14 +168,15 @@ fi # # We're enabled ... start defining the environment variables # - define_subsys_vars "${SUBSYS_DIR}" -if [ ${#CMD[@]} -gt 0 ] ; then - say "🚀 Launching the command: ${CMD[@]@Q}" - exec "${CMD[@]}" +# +# Envvars are set, now take the next step... +# +if [ ${#CMD[@]} -eq 0 ] ; then + say "✅ Subsystem access environment variables defined" + return 0 fi -say "✅ Subsystem access environment variables defined" - -return 0 +say "🚀 Launching the command: ${CMD[@]@Q}" +exec "${CMD[@]}"