mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Log zsync2's output, too. (#5842)
Thanks to our good friend tee ;). As suggested by @Frenzie on gitter ;).
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user