diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2022-11-25 17:59:52 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-11-27 09:31:59 +0900 |
commit | 4137c84198be24b9e34eb2b2e0d4743a55629116 (patch) | |
tree | aa1ef4207d7fa90bd03a78e347837c2cc95b5878 /merge-blobs.c | |
parent | 0178420b9ca67fd4c23df1bea49f45b2aa2a5330 (diff) |
ci: remove the pipe after "p4 -V" to catch errors
When installing p4 as a dependency, we used to pipe output of "p4 -V"
and "p4d -V" to validate the installation and output a condensed version
information. But this would hide potential errors of p4 and would stop
with an empty output. E.g.: p4d version 16.2 running on ubuntu 22.04
causes sigfaults, even before it produces any output.
By removing the pipe after "p4 -V" and "p4d -V", we may get a
verbose output, and stop immediately on errors because we have "set
-e" in "ci/lib.sh". Since we won't look at these trace logs unless
something fails, just including the raw output seems most sensible.
Reviewed-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.c')
0 files changed, 0 insertions, 0 deletions