[PATCH] D148555: [arcanist] rm -f for write protected temp files
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 13:19:20 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb3dd9041e650: [arcanist] rm -f for write protected temp files (authored by nickdesaulniers).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148555/new/
https://reviews.llvm.org/D148555
Files:
utils/arcanist/clang-format.sh
Index: utils/arcanist/clang-format.sh
===================================================================
--- utils/arcanist/clang-format.sh
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148555.514384.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230417/b91c0f7a/attachment.bin>
More information about the llvm-commits
mailing list