[pve-devel] [PATCH v3 pve-common 11/12] introduce PVE::Filesystem

Max Carrara m.carrara at proxmox.com
Mon Feb 3 15:21:58 CET 2025


On Fri Jan 31, 2025 at 1:44 PM CET, Fiona Ebner wrote:
> Am 09.01.25 um 15:48 schrieb Max Carrara:
> > +
> > +sub fs_canonicalize : prototype($) {
> > +    my ($path) = @_;
> > +
> > +    croak "\$path is undef" if !defined($path);
> > +
> > +    my $canonicalized_path = Cwd::abs_path($path);
> > +
> > +    croak "failed to canonicalize path: $!" if !defined($canonicalized_path);
> > +
> > +    return $canonicalized_path;
> > +}
> > +
>
> Missing the 1; at the end of module

Woops, thanks for spotting this! Will correct that.





More information about the pve-devel mailing list