Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
drivera-armedia committed May 1, 2024
1 parent 4c5df15 commit 311947b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions configure-subsystems
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"

0 comments on commit 311947b

Please sign in to comment.