Am 12.05.22 um 15:17 schrieb Daniel Tschlatscher: > unlink $logpath or warn "removing log file $logpath failed: $!\n";
Forgot to say that we could switch to using PVE::RESTEnvironment's log_warn here > } > } > + > + if (defined($notesfn)) { > + my $notespath = "$dirname/$notesfn"; > + if (-e $notespath) { > + unlink $notespath or warn "removing notes file $notespath failed: > $!\n"; and here > + } > + } > } _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel