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 cdac23e0d04bb6c707d9ca873085936a9749c545..db80798a53620896c46bb4cb40004be43a3c6622 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)