diff --git a/sos/sos b/sos/sos index 635a738..ef74922 100755 --- a/sos/sos +++ b/sos/sos @@ -27,6 +27,7 @@ EOF } function die() { + echo "FATAL:" echo "$@" exit 1 } @@ -50,14 +51,40 @@ function upload() { fi # upload the file - echo "Uploading $file to $server - $label..." + TARGET_URL="https://$server/upload" + echo "Uploading $file to $TARGET_URL" + + METADATA_JSON=$(cat< $FILENAME"