diff --git a/libcomposefs/lcfs-mount.c b/libcomposefs/lcfs-mount.c index 5bc5b99f..3ab34ce6 100644 --- a/libcomposefs/lcfs-mount.c +++ b/libcomposefs/lcfs-mount.c @@ -559,6 +559,8 @@ static int lcfs_mount_erofs_ovl(struct lcfs_mount_state_s *state, mount_flags = 0; if (readonly) mount_flags |= MS_RDONLY; + if (lowerdir_alt == 0) + mount_flags |= MS_SILENT; res = mount("overlay", state->mountpoint, "overlay", mount_flags, overlay_options);