Skip to content

Commit

Permalink
Merge pull request #307 from mariux64/fix-mxmount-overmount
Browse files Browse the repository at this point in the history
mxmount: Avoid mounting /amd/host/0 a second time
  • Loading branch information
donald authored Apr 25, 2023
2 parents f2e0a3f + 2ef44b5 commit a0fdc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxmount/mxmount
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sub add_data0_if_not_present {
if ($mp->{label} eq "data0") {
return;
}
if ($mp->{mountpoint} eq "$V{DEFAULT_MOUNT_PREFIX}/$hostname/0") {
if ($mp->{mountpoint} eq "/amd/$hostname/0") {
print STDERR "$mp->{mountpoint} already blocked by $mp->{label}\n";
return;
}
Expand Down

0 comments on commit a0fdc80

Please sign in to comment.