We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e453044 commit fe2edd1Copy full SHA for fe2edd1
tusc.sh
@@ -170,7 +170,7 @@ CHKSUM="$SUMALGO $(echo -n $KEY | base64 -w 0)"
170
171
# head request
172
TUSURL=`tus-config ".[\"$KEY\"].location?"`
173
-[[ $LOCATE ]] && info "URL: $TUSURL" && [[ $TUSURL != "null" ]]; exit $?
+[[ $LOCATE ]] && info "URL: $TUSURL" && [[ $TUSURL != "null" ]]; [[ $LOCATE ]] && exit $?
174
[[ "null" != "$TUSURL" ]] && request "--head $TUSURL"
175
176
if [[ "null" != "$TUSURL" ]] && [[ $ISOK -eq 1 ]]; then
0 commit comments