🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
This commit is contained in:
casjay 2024-07-07 14:16:03 -04:00
parent fae1f72c3b
commit e3b82fce0d
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -473,7 +473,7 @@ fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# set switch user command # set switch user command
if [ "$RUNAS_USER" = "root" ]; then if [ "$RUNAS_USER" = "root" ]; then
su_cmd() { eval "$*" || return 1; } su_cmd() { eval "$@" || return 1; }
elif [ "$(builtin type -P gosu)" ]; then elif [ "$(builtin type -P gosu)" ]; then
su_exec="gosu $RUNAS_USER" su_exec="gosu $RUNAS_USER"
su_cmd() { gosu $RUNAS_USER "$@" || return 1; } su_cmd() { gosu $RUNAS_USER "$@" || return 1; }