mirror of
https://github.com/casjaysdevdocker/ifconfig
synced 2025-09-17 21:57:51 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
This commit is contained in:
@@ -473,7 +473,7 @@ fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# set switch user command
|
||||
if [ "$RUNAS_USER" = "root" ]; then
|
||||
su_cmd() { eval "$*" || return 1; }
|
||||
su_cmd() { eval "$@" || return 1; }
|
||||
elif [ "$(builtin type -P gosu)" ]; then
|
||||
su_exec="gosu $RUNAS_USER"
|
||||
su_cmd() { gosu $RUNAS_USER "$@" || return 1; }
|
||||
|
Reference in New Issue
Block a user