From 2f817ee321bce4e13e4dc7737f06bea8b375e7ad Mon Sep 17 00:00:00 2001 From: Ladar Levison Date: Fri, 3 Nov 2023 02:47:28 -0500 Subject: [PATCH] Updated direct write output updated. --- res/scripts/direct.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/scripts/direct.sh b/res/scripts/direct.sh index 44b69763..0bd44774 100755 --- a/res/scripts/direct.sh +++ b/res/scripts/direct.sh @@ -335,7 +335,7 @@ function upload_box() { if [ "$(${CURL} -so /dev/null --write-out "%{onerror}" https://lavabit.com 2>&1)" ] || \ [ "$(${CURL} -so /dev/null --write-out "%{errormsg}" https://lavabit.com 2>&1)" ]; then UPLOAD_FILE_WRITEOUT="\nFILE: $FILENAME\nREPO: $ORG/$BOX\nCODE: %{http_code}\nIP: %{remote_ip}\nBYTES: %{size_upload}\nRATE: %{speed_upload}\nTOTAL TIME: %{time_total}\n" - UPLOAD_CALLBACK_WRITEOUT="%{onerror}FILE: $FILENAME\nREPO: $ORG/$BOX\nCODE: %{http_code}\nIP: %{remote_ip}\nBYTES: %{size_upload}\nRATE: %{speed_upload}\nTOTAL TIME: %{time_total}\nERROR: %{errormsg}\n" + UPLOAD_CALLBACK_WRITEOUT="" fi # Checks whether the version exists already, and creates it if necessary.