mirror of
https://github.com/speed47/btrfs-list
synced 2024-09-28 20:03:32 +00:00
enh: canonicalize mountpoint for relative paths
This commit is contained in:
parent
410a002fa9
commit
9af13aaaba
|
@ -329,7 +329,9 @@ help() if $opt_help;
|
|||
|
||||
my $wantedFs = shift;
|
||||
if ($wantedFs) {
|
||||
($wantedFs) = $wantedFs =~ /^(.+)$/;
|
||||
|
||||
# canonicalize
|
||||
$wantedFs = link2real($wantedFs);
|
||||
}
|
||||
|
||||
# check btrfs-progs version
|
||||
|
|
Loading…
Reference in a new issue