diff options
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) ; } |
