Skip to content

Commit

Permalink
Updated direct write output updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Nov 3, 2023
1 parent 152fad6 commit 2f817ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/scripts/direct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2f817ee

Please sign in to comment.