]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/mount.c
core: add transient units
[thirdparty/systemd.git] / src / core / mount.c
index c1af903b124cbe0bd58dcf32d8a5ce71a4dbd2eb..3cc3e65b234a9cd867887c8883a66c127e4f9930 100644 (file)
@@ -1562,7 +1562,7 @@ static int mount_add_one(
                         }
                 }
 
-                if (u->load_state == UNIT_ERROR) {
+                if (u->load_state == UNIT_NOT_FOUND) {
                         u->load_state = UNIT_LOADED;
                         u->load_error = 0;