Do not print an error if complete fails
complete is a bashism; so it will fail on other shells. Avoid printing
an error if that is the case.