Skip to content

Commit b4e8878

Browse files
committed
Fix for SC2044
1 parent b112c9e commit b4e8878

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ci/release-image/entrypoint.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ fi
2121
# Allow users to have scripts run on container startup to prepare workspace.
2222
# https://github.com/coder/code-server/issues/5177
2323
if [ -d "${ENTRYPOINTD}" ]; then
24-
for f in $(find "${ENTRYPOINTD}" -type f -executable); do
25-
echo "Running Entrypoint: ${f}"
26-
"${f}"
27-
done
24+
find "${ENTRYPOINTD}" -type f -executable -print -exec {} \;
2825
fi
2926

3027
exec dumb-init /usr/bin/code-server "$@"

0 commit comments

Comments
 (0)