From 697af7f6be3a6802779f8e14de789176ec109868 Mon Sep 17 00:00:00 2001 From: Tom Scavo Date: Mon, 12 Dec 2016 19:06:52 -0500 Subject: [PATCH] Standardize TMP_DIR option --- bin/check_idp_error_urls.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/check_idp_error_urls.sh b/bin/check_idp_error_urls.sh index 62b1b4f..71848d1 100755 --- a/bin/check_idp_error_urls.sh +++ b/bin/check_idp_error_urls.sh @@ -56,9 +56,9 @@ display_help () { are often used together for cron jobs. The argument of the -t option is the TCP connect time, that is, - the maximum time (in secs) allotted to the TCP connection. Note - that the TCP connect time includes the time it takes to do a - DNS name lookup. Since the latter is unconstrained, it may + the maximum time (in secs) allotted to make a TCP connection. + Note that the TCP connect time includes the time it takes to + do a DNS name lookup. Since the latter is unconstrained, it may consume all available TCP connect time. Thus the TCP connect time should be kept small (say, less than 10 seconds) since larger values will slow this script considerably. The default @@ -563,7 +563,7 @@ $verbose_mode && printf "$script_name using curl opts: %s\n" "$curl_opts" if $md_file_mode; then entityDescriptor=$( getEntityFromFile -f "$md_path" $entityID ) else - entityDescriptor=$( getEntityFromServer -d "$TMP_DIR" -u "$mdq_base_url" $entityID ) + entityDescriptor=$( getEntityFromServer -T "$TMP_DIR" -u "$mdq_base_url" $entityID ) fi return_code=$? if [ "$return_code" -ne 0 ]; then