From 25aff1baabc4698f4f956997c6b0ba5fa1ba8de2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 15 Jun 2025 19:16:55 +1200 Subject: [PATCH] 'Generic Commit' --- sos/sos | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sos/sos b/sos/sos index 6e835df..cedf02e 100755 --- a/sos/sos +++ b/sos/sos @@ -68,7 +68,7 @@ function upload() { # upload the file TARGET_SERVER="https://$server" - echo "Uploading $file to $TARGET_URL" + echo "Uploading $file to $TARGET_SERVER" DATETIME=$(datetime) @@ -113,14 +113,14 @@ EOF -F "metadata=${METADATA_JSON}" \ -F "hash=${LOCALHASH}" \ "$TARGET_SERVER/update" \ - || die "Failed to upload $file to $TARGET_URL" + || die "Failed to upload $file to $TARGET_SERVER/update" else # UPLOAD the file + metadata curl -X PUT -H "Authorization: Bearer ${WRITE_TOKEN}" \ -F "metadata=${METADATA_JSON}" \ -F "file=@${file}" \ "$TARGET_SERVER/upload" \ - || die "Failed to upload $file to $TARGET_URL" + || die "Failed to upload $file to $TARGET_SERVER/upload" fi echo " "