diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index 47477fd..b497a56 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -197,7 +197,7 @@ function command::exec() { fi command="$sudo_options bash -c $(utils::quote "$command")" fi -# command="$(utils::quote "$command")" + command="$(utils::quote "$command")" if [[ "${host}" == "127.0.0.1" ]]; then # 本地执行 log::exec "[command]" "bash -c $(printf "%s" "${command//${SUDO_PASSWORD:-}/zzzzzz}")"