acme.sh "It seems that you are using sudo, please read this page first"

Hmm. Maybe try using the force argument/flag? As far as I understand that the code below checks if force flag is used, if not, warn the user, else, it should work fine i guess.

sh:
  if [ "${_CMD}" != "install" ]; then
    if [ "$__INTERACTIVE" ] && ! _checkSudo; then
      if [ -z "$FORCE" ]; then
        #Use "echo" here, instead of _info. it's too early
        echo "It seems that you are using sudo, please read this page first:"
        echo "$_SUDO_WIKI"
        return 1
      fi
    fi
 
Back
Top