mirror of
https://github.com/schoebel/mars
synced 2024-12-27 00:52:21 +00:00
marsadm: fix interpretation of leading zeros
This commit is contained in:
parent
f482f6db33
commit
a65205b8e1
@ -3519,6 +3519,7 @@ sub _wait_delete {
|
||||
return if $dry_run;
|
||||
for (;;) {
|
||||
my $deleted = get_link("$mars/todo-global/deleted-$real_host");
|
||||
$deleted =~ s/^0+//;
|
||||
my ($min_nr, $delete_nr) = _get_delete_nr("$mars/todo-global");
|
||||
last if $deleted >= $delete_nr;
|
||||
lprint "waiting for deletions to apply locally....\n";
|
||||
|
Loading…
Reference in New Issue
Block a user