Log zsync2's output, too. (#5842)
Thanks to our good friend tee ;). As suggested by @Frenzie on gitter ;).
This commit is contained in:
1 parent
1d3842ffa0
commit
24f1f435de
1 file changed
+1
-1
@@ -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