Corrects the ls command redirection

This commit is contained in:
Trenton Holmes 2022-10-20 19:50:00 -07:00 committed by Trenton H
parent be64552092
commit e635bfedc5

View File

@ -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