diff options
-rwxr-xr-x | bin/check-mirrors | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors index e82e2cd..41727e9 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors | |||
@@ -94,7 +94,7 @@ for mirror in $mirrors | |||
94 | do | 94 | do |
95 | url="${mirror%/}/timestamp" | 95 | url="${mirror%/}/timestamp" |
96 | 96 | ||
97 | if curl -s -S -O -m 600 "$url" >'curl.log' 2>&1 | 97 | if curl -s -S -O -m 600 --ftp-method 'nocwd' "$url" >'curl.log' 2>&1 |
98 | then | 98 | then |
99 | cmp -s 'expected' 'timestamp' \ | 99 | cmp -s 'expected' 'timestamp' \ |
100 | || echo >&2 "$mirror is outdated ($(cat 'timestamp'))." | 100 | || echo >&2 "$mirror is outdated ($(cat 'timestamp'))." |