summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-20 20:20:34 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-20 20:20:34 +0200
commit460fd04ad43ed7d12d79d866607fb8e0389263b8 (patch)
treeab3a392f64c1555d4c8afaa5b08cf2a2c795d107
parentf962ebcf7e6a04040199d16556bbae492856e20a (diff)
Save last_uri if the next link cannot be found, too
-rwxr-xr-xbin/comirror1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/comirror b/bin/comirror
index 1239741..9068636 100755
--- a/bin/comirror
+++ b/bin/comirror
@@ -29,6 +29,7 @@ sub find_next_link {
return $link;
}
}
+ save_lasturi();
die("Cannot find next link\n");
}