enh: canonicalize mountpoint for relative paths

This commit is contained in:
Stéphane Lesimple 2022-01-03 21:30:49 +01:00
parent 410a002fa9
commit 9af13aaaba

View file

@ -329,7 +329,9 @@ help() if $opt_help;
my $wantedFs = shift;
if ($wantedFs) {
($wantedFs) = $wantedFs =~ /^(.+)$/;
# canonicalize
$wantedFs = link2real($wantedFs);
}
# check btrfs-progs version