mirror of
https://github.com/casjaysdevdocker/apprise
synced 2025-01-18 12:34:35 -05:00
🗃 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:
parent
df80b7f5cb
commit
1163c1a0d9
@ -574,7 +574,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_cmd() { gosu $RUNAS_USER "$@" || return 1; }
|
su_cmd() { gosu $RUNAS_USER "$@" || return 1; }
|
||||||
elif [ "$(builtin type -P runuser)" ]; then
|
elif [ "$(builtin type -P runuser)" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user