batpipe: Fix error when external viewers folder exists

This commit is contained in:
Ethan P 2021-03-30 18:51:34 -07:00
parent 2b2db2b506
commit 5708706436
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -370,7 +370,7 @@ if [[ -d "${__CONFIG_DIR}/viewers.d" ]]; then
unset LIB unset LIB
unset SELF unset SELF
shopt -o nullglob shopt -s nullglob
for viewer_script in "${__CONFIG_DIR}/viewers.d"/*; do for viewer_script in "${__CONFIG_DIR}/viewers.d"/*; do
source "${viewer_script}" source "${viewer_script}"
done done