|
|
|
@ -203,7 +203,7 @@ function command::exec() { |
|
|
|
command="$sudo_options bash -c $(utils::quote "$command")" |
|
|
|
fi |
|
|
|
command="$(utils::quote "$command")" |
|
|
|
if [[ "${host}" == "127.0.0.1" ]]; then |
|
|
|
if [[ "${host}" == "127.0.0.1" || "${host}" == "10.0.93.197" ]]; then |
|
|
|
# 本地执行 |
|
|
|
log::exec "[command]" "bash -c $(printf "%s" "${command//${SUDO_PASSWORD:-}/zzzzzz}")" |
|
|
|
# shellcheck disable=SC2094 |
|
|
|
|