fix return code of overlay_mount_fs
authorJohn Crispin <john@phrozen.org>
Tue, 16 Aug 2016 10:06:33 +0000 (12:06 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 16 Aug 2016 10:07:02 +0000 (12:07 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
libfstools/overlay.c

index cdac23e..db80798 100644 (file)
@@ -280,7 +280,7 @@ static int overlay_mount_fs(struct volume *v)
                return -1;
        }
 
-       return -1;
+       return 0;
 }
 
 enum fs_state fs_state_get(const char *dir)