marsadm: use $real_host for deletions

This can make a difference when using --host= and the other
host is no long really existant.
This commit is contained in:
Thomas Schoebel-Theuer 2015-04-29 14:06:37 +02:00
parent 5f485b6a02
commit b190337eb8
1 changed files with 1 additions and 1 deletions

View File

@ -1793,7 +1793,7 @@ sub _create_delete {
}
}
}
my $new = sprintf("$mars/todo-global/delete-%09d-$host", ++$delete_nr);
my $new = sprintf("$mars/todo-global/delete-%09d-$real_host", ++$delete_nr);
lprint "create symlink $new -> $target\n" if $verbose;
set_link($target, $new);
}