diff --git a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh index 5064e5559..d80f6383f 100644 --- a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh +++ b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") # CONFIG IMPORT # ################# -if [ "$(ls -A $CONFIGSOURCE/configurations)" ]; then +if [ "$(ls -A "$CONFIGSOURCE"/configurations)" ]; then bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded." JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations" export JSON_CONFIGURATION_DIR @@ -20,7 +20,7 @@ if bashio::config.has_value 'Updates'; then CONFIGSOURCE="$(dirname "${CONFIGSOURCE}/import_files")" - if [ "$(ls -A $CONFIGSOURCE)" ]; then + if [ "$(ls -A "$CONFIGSOURCE")" ]; then # Align update with options echo "" FREQUENCY=$(bashio::config 'Updates')