Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Corrects the ls command redirection

Trenton Holmese635bfedc5e0
diff --git a/docker/docker-prepare.sh b/docker/docker-prepare.sh
index e1c970284..a3fc5e1c5 100755
--- a/docker/docker-prepare.sh
+++ b/docker/docker-prepare.sh
@@ -109,7 +109,7 @@ customer_container_init() {
fi
# Make sure custom init directory has files in it
- if [ -n "$(/bin/ls -A "${custom_script_dir} "2>/dev/null)" ]; then
+ if [ -n "$(/bin/ls -A "${custom_script_dir}" 2>/dev/null)" ]; then
echo "[custom-init] files found in ${custom_script_dir} executing"
# Loop over files in the directory
for SCRIPT in "${custom_script_dir}"/*; do