mirror of
https://github.com/schoebel/mars
synced 2025-02-18 04:57:10 +00:00
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;
|
lprint "create symlink $new -> $target\n" if $verbose;
|
||||||
set_link($target, $new);
|
set_link($target, $new);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user