Browse Source

address codacy issue

pull/36/head
Josh Bryans 2 years ago
committed by GitHub
parent
commit
391086c2ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      entrypoint-user.sh

5
entrypoint-user.sh

@ -14,10 +14,9 @@ trap exit_handler_user SIGQUIT SIGINT SIGTERM
execute_hook_directory() {
for f in $1; do
bash "$f"
if [ $? -ne 0 ]
if ! bash $f
then
echo "Failed running hook \"$f\". exit code $?"
echo "Failed running hook \"$f\""
exit 1
fi
done

Loading…
Cancel
Save