90 |
if (-e $restore_path) { |
if (-e $restore_path) { |
91 |
unlink $restore_path || die "can't remove $restore_path: $!\n"; |
unlink $restore_path || die "can't remove $restore_path: $!\n"; |
92 |
} |
} |
93 |
link $path, $restore_path || die "can't create link $path -> $restore_path: $!\n"; |
symlink $path, $restore_path || die "can't create link $path -> $restore_path: $!\n"; |
94 |
|
|
95 |
my $user = $host_info->{$host}->{user} || die "can't get user for host $host"; |
my $user = $host_info->{$host}->{user} || die "can't get user for host $host"; |
96 |
|
|