diff options
Diffstat (limited to 'lib/MDV/Distribconf.pm')
-rw-r--r-- | lib/MDV/Distribconf.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm index ea77392..0eb5529 100644 --- a/lib/MDV/Distribconf.pm +++ b/lib/MDV/Distribconf.pm @@ -511,6 +511,7 @@ prefixed by the 'root' path. This is a shortcut for: sub getfullpath { my $distrib = shift; my $path = $distrib->getpath(@_) or return; + return $distrib->getpath(undef, 'root') if (($_[1] || '') eq 'root'); return $distrib->getpath(undef, 'root') . '/' . $path; } |