Commit c6ba2d5a authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Call correct function in docker-entrypoint.sh

Also revert directory check.
parent 8840865e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,10 +3,10 @@
. /lib/docker-init.sh

# Source environment variables from /etc/environment.d/
[ -d /etc/environment.d ] && source_each /etc/environment.d/*
source_each /etc/environment.d/*

# Run all setup scripts in /etc/init.d/
[ -d /etc/init.d ] && run_all /etc/init.d/*
exec_each /etc/init.d/*

# Run the given command or a shell
[ -n "$1" ] || set ${SHELL:=/bin/sh}