diff options
author | Daniel Mack <daniel@zonque.org> | 2015-04-07 00:44:15 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-04-07 00:50:10 +0200 |
commit | b604cb9bf6a14d12589e85b82f3f59db93ea0029 (patch) | |
tree | 6b59c44686317c8532e6407a11e1130746e3f15c /src/core/automount.c | |
parent | 84d325800eb11947c78c005ff603ee75600406a6 (diff) |
core: mount-setup: handle non-existing mountpoints gracefully
Commit e792e890f ("path-util: don't eat up ENOENT in
path_is_mount_point()") changed path_is_mount_point() so it doesn't hide
-ENOENT from its caller. This causes all boots to fail early in case
any of the mount points does not exist (for instance, when kdbus isn't
loaded, /sys/fs/kdbus is missing).
Fix this by returning 0 from mount_one() if path_is_mount_point()
returned -ENOENT.
Diffstat (limited to 'src/core/automount.c')
0 files changed, 0 insertions, 0 deletions