chiark / gitweb /
rework config file load logic
[elogind.git] / mount.c
diff --git a/mount.c b/mount.c
index f4a6d6f2469ce94ee17e7b9271759132b03f6722..7a1ec087e7a5f6e20bf2384c6577660736d54d22 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -15,7 +15,7 @@ static int mount_init(Unit *u) {
         assert(m);
 
         /* Load a .mount file */
-        if ((r = unit_load_fragment(u)) < 0 && errno != -ENOENT)
+        if ((r = unit_load_fragment(u)) < 0)
                 return r;
 
         /* Load entry from /etc/fstab */