This commit is contained in:
Alexandre
2024-01-14 20:09:43 +01:00
committed by GitHub
parent d90ddebf6c
commit f333c42666

View File

@@ -35,7 +35,7 @@ for SCRIPTS in /etc/cont-init.d/*; do
if command -v "source" &>/dev/null; then
# Use source to share env variables
# shellcheck source=/dev/null
source "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"
/."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"
else
# Support for posix only shell
/."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"