Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit d591a2b

Browse files
committed
tuhh-fdm: zenodo oai identify timeout #50
1 parent 1d9cf83 commit d591a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/tuhh-fdm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ echo "Logfile: ${codename}_${date}.log"
101101
echo ""
102102

103103
# Check connection to OAI endpoint
104-
if [[ $(curl -skL -w "%{http_code}" "${oai_url}?verb=Identify" -o /dev/null --connect-timeout 15) -ne "200" ]]; then
104+
if [[ $(curl -skL -w "%{http_code}" "${oai_url}?verb=ListMetadataFormats" -o /dev/null --connect-timeout 15) -ne "200" ]]; then
105105
echo 1>&2 "no connection to OAI endpoint ${oai_url}"
106106
exit 2
107107
fi

0 commit comments

Comments
 (0)