diff options
Diffstat (limited to 'sandbox/mount.go')
| -rw-r--r-- | sandbox/mount.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/mount.go b/sandbox/mount.go index e47e7f5d..e2cc2907 100644 --- a/sandbox/mount.go +++ b/sandbox/mount.go @@ -13,7 +13,7 @@ const ( BindSource BindRecursive BindWritable - BindDevices + BindDevice ) func bindMount(src, dest string, flags int) error { @@ -66,7 +66,7 @@ func bindMount(src, dest string, flags int) error { if flags&BindWritable == 0 { mf |= syscall.MS_RDONLY } - if flags&BindDevices == 0 { + if flags&BindDevice == 0 { mf |= syscall.MS_NODEV } if msg.IsVerbose() { |
