🗃 Modified: rootfs/usr/local/etc/docker/init.d/zz-default.sh 🗃

Modified: rootfs/usr/local/etc/docker/init.d/zz-default.sh
This commit is contained in:
casjay 2024-07-14 10:42:23 -04:00
parent df80b7f5cb
commit 1163c1a0d9
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -574,7 +574,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_cmd() { gosu $RUNAS_USER "$@" || return 1; }
elif [ "$(builtin type -P runuser)" ]; then