chiark / gitweb /
rework config file load logic
[elogind.git] / automount.c
index 7b397c9b9bfbd73b89d36806b9317aeb3b1300f9..eb9c3d3c1d3071d2ed95e0e09d95afca5227c45b 100644 (file)
@@ -17,7 +17,7 @@ static int automount_init(Unit *u) {
         exec_context_init(&a->exec_context);
 
         /* Load a .automount file */
-        if ((r = unit_load_fragment(u)) < 0 && errno != -ENOENT)
+        if ((r = unit_load_fragment(u)) < 0)
                 return r;
 
         /* Load entry from /etc/fstab */