my $found_backup;
if (-f $rootsshauthkeysbackup) {
+ $data .= "\n";
$data .= PVE::Tools::file_get_contents($rootsshauthkeysbackup, 128*1024);
chomp($data);
$found_backup = 1;
warn "can't create shared ssh key database '$sshauthkeys'\n"
if ! -f $sshauthkeys;
- if (-f $rootsshauthkeys) {
+ if (-f $rootsshauthkeys && ! -l $rootsshauthkeys) {
if (!rename($rootsshauthkeys , $rootsshauthkeysbackup)) {
warn "rename $rootsshauthkeys failed - $!\n";
}
pve-cluster (1.0-34) unstable; urgency=low
* implement sendfd to support qemu fdset functionality.
+
+ * fix ssh_merge_keys
-- Proxmox Support Team <support@proxmox.com> Wed, 05 Dec 2012 12:02:09 +0100