If you want a failing command to always return sucess (example, a rm command that might fail but you don't care if it does...) just add '|| echo' at the end
rm nonexistantfile.txt || echo
This will return an exit code of 0 (success) even if the rm fails, for example, if the file does not exists.