diff --git a/rootfs/usr/local/etc/docker/init.d/zz-echoip.sh b/rootfs/usr/local/etc/docker/init.d/zz-echoip.sh index 930d9d0..2488ae5 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-echoip.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-echoip.sh @@ -365,7 +365,7 @@ __run_start_script() { eval env -i HOME="$home" LC_CTYPE="$lc_type" PATH="$path" HOSTNAME="$sysname" USER="${SERVICE_USER:-$RUNAS_USER}" $extra_env sh -c "$cmd_exec" || return 10 else - su_cmd sh -c "$cmd_exec" || eval "$cmd_exec" || return 10 + su_cmd "$cmd_exec" || eval "$cmd_exec" || return 10 fi fi fi