From 24f1f435deb556694846752651c890fcf279d69a Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Tue, 11 Feb 2020 17:40:28 +0100 Subject: [PATCH] Log zsync2's output, too. (#5842) Thanks to our good friend tee ;). As suggested by @Frenzie on gitter ;). --- platform/common/spinning_zsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/common/spinning_zsync b/platform/common/spinning_zsync index 02ec018f0..6907c6b9e 100755 --- a/platform/common/spinning_zsync +++ b/platform/common/spinning_zsync @@ -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...