mirror of https://github.com/schoebel/mars
marsadm: purge historic links
This commit is contained in:
parent
a6167603ad
commit
58a5537d0a
|
@ -4210,7 +4210,8 @@ sub link_purge_res {
|
||||||
unlink($leftlink);
|
unlink($leftlink);
|
||||||
}
|
}
|
||||||
foreach my $leftlink (lamport_glob("$mars/{,resource-$res/}actual-*/msg-*")) {
|
foreach my $leftlink (lamport_glob("$mars/{,resource-$res/}actual-*/msg-*")) {
|
||||||
if ($leftlink =~ m:/msg-conncetion-from-:) {
|
# cleanup historic msg-*
|
||||||
|
if ($leftlink =~ m:/msg-(conncetion-from-|additional-connection-):) {
|
||||||
lprint " unlink deprecated '$leftlink'\n" if $verbose;
|
lprint " unlink deprecated '$leftlink'\n" if $verbose;
|
||||||
unlink($leftlink);
|
unlink($leftlink);
|
||||||
next;
|
next;
|
||||||
|
|
Loading…
Reference in New Issue