solenv/clang-format/reformat-formatted-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 786802539587f2fe08ef57443e58af50146db33b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Aug 5 10:47:58 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Aug 5 11:51:44 2020 +0200 Propagate clang-format failure from reformat-formatted-files Specifically, this allows to manually terminate a (long-running) reformat-formatted-files through Ctrl-C. Change-Id: Ic44099b29e72619a6697d349a611a12b8536a3bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100154 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins diff --git a/solenv/clang-format/reformat-formatted-files b/solenv/clang-format/reformat-formatted-files index 0302d3f9b244..a3a670f83a77 100755 --- a/solenv/clang-format/reformat-formatted-files +++ b/solenv/clang-format/reformat-formatted-files @@ -42,7 +42,7 @@ foreach my $filename (@filenames) print($filename . "\n"); if (!$dry_run) { - system($command); + system($command) == 0 or die "failed to execute \"$command\": $?"; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits