Browse Source

07env-install-centos.sh

master
lizw 3 years ago
parent
commit
e1409756cc
  1. 2
      00base/07env-install-centos.sh

2
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}")"

Loading…
Cancel
Save