diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-11 18:58:17 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-12-11 18:58:17 +0000 |
| commit | a163eb60bbcedcf0c668064c3bfa1ac9cdee3a3c (patch) | |
| tree | 3be74d5f581a71fe8943b1e53180f9fab9c99958 /src | |
| parent | 1e3703d6b0595c048cc3b600c34d696d24399ff3 (diff) | |
| download | s6-linux-utils-a163eb60bbcedcf0c668064c3bfa1ac9cdee3a3c.tar.gz | |
fstab2s6rc: doc typo fix; add binddep even for non-bind mounts
Diffstat (limited to 'src')
| -rw-r--r-- | src/s6-linux-utils/fstab2s6rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-linux-utils/fstab2s6rc.c b/src/s6-linux-utils/fstab2s6rc.c index d48caaa..14d817a 100644 --- a/src/s6-linux-utils/fstab2s6rc.c +++ b/src/s6-linux-utils/fstab2s6rc.c @@ -212,7 +212,7 @@ static inline int add_fs (struct mntent *mnt, genalloc *root, stralloc *sa, uint e = process_servicename(sa, mnt->mnt_dir, 0) ; if (e) return e ; f.binddep = sa->len - 1 ; - if (mnt->mnt_fsname[0] == '/' && hasmntopt(mnt, "bind")) adjust_binddep(&f.binddep, mnt->mnt_fsname + 1, genalloc_s(fsent, root), genalloc_len(fsent, root), sa->s) ; + if (mnt->mnt_fsname[0] == '/') adjust_binddep(&f.binddep, mnt->mnt_fsname + 1, genalloc_s(fsent, root), genalloc_len(fsent, root), sa->s) ; return fstab_insert_mount(&f, root, sa->s) ; } |
