mirror of https://github.com/schoebel/mars
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:
parent
5f485b6a02
commit
b190337eb8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue