Skip to content

Commit

Permalink
cmd/snap-update-ns: remove stray happen
Browse files Browse the repository at this point in the history
  • Loading branch information
zyga committed May 15, 2019
1 parent b24be05 commit b0b51cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/snap-update-ns/change.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (c *Change) lowLevelPerform(as *Assumptions) error {
case "", "file":
flags, unparsed := osutil.MountOptsToCommonFlags(c.Entry.Options)
// Split the mount flags from the event propagation changes.
// Those have to be applied happen separately.
// Those have to be applied separately.
const sharingFlags = syscall.MS_SHARED | syscall.MS_SLAVE | syscall.MS_PRIVATE | syscall.MS_UNBINDABLE
flagsJustRecursive := flags & syscall.MS_REC
flagsJustSharing := flags & sharingFlags
Expand Down

0 comments on commit b0b51cb

Please sign in to comment.