Previously, mount_load_etc_fstab() could never fail for reasons other
than a setmntent() or allocation failure.
---
 src/mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mount.c b/src/mount.c
index 0ae964b..5e52a54 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -1578,7 +1578,7 @@ static int mount_load_etc_fstab(Manager *m) {
                 free(what);
                 free(where);
 
-                if (r < 0)
+                if (k < 0)
                         r = k;
         }
 
-- 
1.7.9.1

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to