diff options
Diffstat (limited to 'bin/check-mirrors')
-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 9334417..d3fcfe9 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors | |||
@@ -264,7 +264,7 @@ for mirror in $mirrors | |||
264 | do | 264 | do |
265 | url="${mirror%/}/timestamp" | 265 | url="${mirror%/}/timestamp" |
266 | 266 | ||
267 | if curl -s -S -O -m 600 --retry 2 --ftp-method 'nocwd' "$url" \ | 267 | if curl -s -S -O -P '-' -m 600 --retry 2 --ftp-method 'nocwd' "$url" \ |
268 | >'curl.log' 2>&1 | 268 | >'curl.log' 2>&1 |
269 | then | 269 | then |
270 | cmp -s 'expected' 'timestamp' \ | 270 | cmp -s 'expected' 'timestamp' \ |