Skip to content

Commit 97cb25c

Browse files
authored
Update mount.go (#154)
1 parent 3e783e9 commit 97cb25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ func MountNFSShare(source string, targetPath string, options []string, nfsType s
589589
nfsType = defaultNFSType
590590
}
591591

592-
mountedSource := GetDeviceFromMountPoint(targetPath)
592+
mountedSource, _ := GetDeviceFromMountPoint(targetPath)
593593
if mountedSource != "" {
594594
// the source exists for the target path but differs from the expected mount, return error
595595
if mountedSource != source {

0 commit comments

Comments
 (0)