diff --git a/utils/arcanist/clang-format.sh b/utils/arcanist/clang-format.sh --- a/utils/arcanist/clang-format.sh +++ b/utils/arcanist/clang-format.sh @@ -36,7 +36,7 @@ cleanup() { rc=$? - rm "${formatted_file}" "${original_file}" + rm -f "${formatted_file}" "${original_file}" exit ${rc} } trap 'cleanup' INT HUP QUIT TERM EXIT