Browse Source

fix(update-lgsm): cd functionsdir but never back (#4140)

pull/4161/head
jusito 2 years ago
committed by GitHub
parent
commit
bc7e200dcd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/functions/command_update_linuxgsm.sh

2
lgsm/functions/command_update_linuxgsm.sh

@ -182,6 +182,7 @@ fi
# Check and update modules.
if [ -n "${functionsdir}" ]; then
if [ -d "${functionsdir}" ]; then
(
cd "${functionsdir}" || exit
for functionfile in *; do
# check if module exists in the repo and remove if missing.
@ -225,6 +226,7 @@ if [ -n "${functionsdir}" ]; then
fi
fi
done
)
fi
fi

Loading…
Cancel
Save