Skip to content

Commit

Permalink
Update mount.go (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakkumar authored Jun 8, 2021
1 parent 3e783e9 commit 97cb25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ func MountNFSShare(source string, targetPath string, options []string, nfsType s
nfsType = defaultNFSType
}

mountedSource := GetDeviceFromMountPoint(targetPath)
mountedSource, _ := GetDeviceFromMountPoint(targetPath)
if mountedSource != "" {
// the source exists for the target path but differs from the expected mount, return error
if mountedSource != source {
Expand Down

0 comments on commit 97cb25c

Please sign in to comment.