mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a7e686a779
Signed-off-by: John Howard <jhoward@microsoft.com>
11 lines
219 B
Go
11 lines
219 B
Go
// +build linux freebsd
|
|
|
|
package system
|
|
|
|
import "syscall"
|
|
|
|
// UnmountWithSyscall is a platform-specific helper function to call
|
|
// the unmount syscall.
|
|
func UnmountWithSyscall(dest string) {
|
|
syscall.Unmount(dest, 0)
|
|
}
|