Log zsync2's output, too. (#5842)

Thanks to our good friend tee ;).

As suggested by @Frenzie on gitter ;).
reviewable/pr5844/r1
NiLuJe 4 years ago committed by GitHub
parent 1d3842ffa0
commit 24f1f435de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ rc=0
if [ "${WITH_PIPEFAIL}" = "true" ]; then
# We can use pipefail, let the shell do the heavy lifting for us...
./zsync2 "$@" 2>&1 | ./fbink -q -z -pm -F scientifica
./zsync2 "$@" 2>&1 | tee -a ./crash.log | ./fbink -q -z -pm -F scientifica
rc=$?
else
# We cannot use pipefail, extreme shell wizardry is required...

Loading…
Cancel
Save